<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="language" content="en" />
        <link href="./assets/ffd55088/css/bootstrap.css" rel="stylesheet">
<link href="./assets/5cf9384a/solarized_light.css" rel="stylesheet">
<link href="./assets/6c54116e/style.css" rel="stylesheet">
<script src="./assets/a44cef0f/jquery.js"></script>
<script src="./assets/ffd55088/js/bootstrap.js"></script>
<script src="./assets/8ac4e28a/jssearch.js"></script>    <title>BaseHtml, yii\helpers\BaseHtml - Yii Framework 2.0 API Documentation</title>
</head>
<body>

<div class="wrap">
    <nav id="w6661" class="navbar-inverse navbar-fixed-top navbar" role="navigation"><div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#w6661-collapse"><span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span></button><a class="navbar-brand" href="./index.html">Yii Framework 2.0 API Documentation</a></div><div id="w6661-collapse" class="collapse navbar-collapse"><ul id="w6662" class="navbar-nav nav"><li><a href="./index.html">Class reference</a></li>
<li class="dropdown"><a class="dropdown-toggle" href="#" data-toggle="dropdown">Extensions <b class="caret"></b></a><ul id="w6663" class="dropdown-menu"><li><a href="./ext-apidoc-index.html" tabindex="-1">apidoc</a></li>
<li><a href="./ext-authclient-index.html" tabindex="-1">authclient</a></li>
<li><a href="./ext-bootstrap-index.html" tabindex="-1">bootstrap</a></li>
<li><a href="./ext-codeception-index.html" tabindex="-1">codeception</a></li>
<li><a href="./ext-debug-index.html" tabindex="-1">debug</a></li>
<li><a href="./ext-elasticsearch-index.html" tabindex="-1">elasticsearch</a></li>
<li><a href="./ext-faker-index.html" tabindex="-1">faker</a></li>
<li><a href="./ext-gii-index.html" tabindex="-1">gii</a></li>
<li><a href="./ext-imagine-index.html" tabindex="-1">imagine</a></li>
<li><a href="./ext-jui-index.html" tabindex="-1">jui</a></li>
<li><a href="./ext-mongodb-index.html" tabindex="-1">mongodb</a></li>
<li><a href="./ext-redis-index.html" tabindex="-1">redis</a></li>
<li><a href="./ext-smarty-index.html" tabindex="-1">smarty</a></li>
<li><a href="./ext-sphinx-index.html" tabindex="-1">sphinx</a></li>
<li><a href="./ext-swiftmailer-index.html" tabindex="-1">swiftmailer</a></li>
<li><a href="./ext-twig-index.html" tabindex="-1">twig</a></li></ul></li>
<li><a href="./guide-README.html">Guide</a></li></ul><div class="navbar-form navbar-left" role="search">
  <div class="form-group">
    <input id="searchbox" type="text" class="form-control" placeholder="Search">
  </div>
</div>
</div></nav>
    <div id="search-resultbox" style="display: none;" class="modal-content">
        <ul id="search-results">
        </ul>
    </div>

    
<div class="row">
    <div class="col-md-3">
                <div id="navigation" class="list-group"><a class="list-group-item" href="#navigation-6630" data-toggle="collapse" data-parent="#navigation">Not namespaced classes <b class="caret"></b></a><div id="navigation-6630" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii.html">Yii</a></div>
<a class="list-group-item" href="#navigation-6631" data-toggle="collapse" data-parent="#navigation">yii <b class="caret"></b></a><div id="navigation-6631" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-baseyii.html">BaseYii</a></div>
<a class="list-group-item" href="#navigation-6632" data-toggle="collapse" data-parent="#navigation">yii\base <b class="caret"></b></a><div id="navigation-6632" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-base-action.html">Action</a>
<a class="list-group-item" href="./yii-base-actionevent.html">ActionEvent</a>
<a class="list-group-item" href="./yii-base-actionfilter.html">ActionFilter</a>
<a class="list-group-item" href="./yii-base-application.html">Application</a>
<a class="list-group-item" href="./yii-base-arrayaccesstrait.html">ArrayAccessTrait</a>
<a class="list-group-item" href="./yii-base-arrayable.html">Arrayable</a>
<a class="list-group-item" href="./yii-base-arrayabletrait.html">ArrayableTrait</a>
<a class="list-group-item" href="./yii-base-behavior.html">Behavior</a>
<a class="list-group-item" href="./yii-base-bootstrapinterface.html">BootstrapInterface</a>
<a class="list-group-item" href="./yii-base-component.html">Component</a>
<a class="list-group-item" href="./yii-base-configurable.html">Configurable</a>
<a class="list-group-item" href="./yii-base-controller.html">Controller</a>
<a class="list-group-item" href="./yii-base-dynamicmodel.html">DynamicModel</a>
<a class="list-group-item" href="./yii-base-errorexception.html">ErrorException</a>
<a class="list-group-item" href="./yii-base-errorhandler.html">ErrorHandler</a>
<a class="list-group-item" href="./yii-base-event.html">Event</a>
<a class="list-group-item" href="./yii-base-exception.html">Exception</a>
<a class="list-group-item" href="./yii-base-exitexception.html">ExitException</a>
<a class="list-group-item" href="./yii-base-inlineaction.html">InlineAction</a>
<a class="list-group-item" href="./yii-base-invalidcallexception.html">InvalidCallException</a>
<a class="list-group-item" href="./yii-base-invalidconfigexception.html">InvalidConfigException</a>
<a class="list-group-item" href="./yii-base-invalidparamexception.html">InvalidParamException</a>
<a class="list-group-item" href="./yii-base-invalidrouteexception.html">InvalidRouteException</a>
<a class="list-group-item" href="./yii-base-invalidvalueexception.html">InvalidValueException</a>
<a class="list-group-item" href="./yii-base-model.html">Model</a>
<a class="list-group-item" href="./yii-base-modelevent.html">ModelEvent</a>
<a class="list-group-item" href="./yii-base-module.html">Module</a>
<a class="list-group-item" href="./yii-base-notsupportedexception.html">NotSupportedException</a>
<a class="list-group-item" href="./yii-base-object.html">Object</a>
<a class="list-group-item" href="./yii-base-request.html">Request</a>
<a class="list-group-item" href="./yii-base-response.html">Response</a>
<a class="list-group-item" href="./yii-base-security.html">Security</a>
<a class="list-group-item" href="./yii-base-theme.html">Theme</a>
<a class="list-group-item" href="./yii-base-unknownclassexception.html">UnknownClassException</a>
<a class="list-group-item" href="./yii-base-unknownmethodexception.html">UnknownMethodException</a>
<a class="list-group-item" href="./yii-base-unknownpropertyexception.html">UnknownPropertyException</a>
<a class="list-group-item" href="./yii-base-userexception.html">UserException</a>
<a class="list-group-item" href="./yii-base-view.html">View</a>
<a class="list-group-item" href="./yii-base-viewcontextinterface.html">ViewContextInterface</a>
<a class="list-group-item" href="./yii-base-viewevent.html">ViewEvent</a>
<a class="list-group-item" href="./yii-base-viewrenderer.html">ViewRenderer</a>
<a class="list-group-item" href="./yii-base-widget.html">Widget</a></div>
<a class="list-group-item" href="#navigation-6633" data-toggle="collapse" data-parent="#navigation">yii\behaviors <b class="caret"></b></a><div id="navigation-6633" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-behaviors-attributebehavior.html">AttributeBehavior</a>
<a class="list-group-item" href="./yii-behaviors-blameablebehavior.html">BlameableBehavior</a>
<a class="list-group-item" href="./yii-behaviors-sluggablebehavior.html">SluggableBehavior</a>
<a class="list-group-item" href="./yii-behaviors-timestampbehavior.html">TimestampBehavior</a></div>
<a class="list-group-item" href="#navigation-6634" data-toggle="collapse" data-parent="#navigation">yii\caching <b class="caret"></b></a><div id="navigation-6634" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-caching-apccache.html">ApcCache</a>
<a class="list-group-item" href="./yii-caching-arraycache.html">ArrayCache</a>
<a class="list-group-item" href="./yii-caching-cache.html">Cache</a>
<a class="list-group-item" href="./yii-caching-chaineddependency.html">ChainedDependency</a>
<a class="list-group-item" href="./yii-caching-dbcache.html">DbCache</a>
<a class="list-group-item" href="./yii-caching-dbdependency.html">DbDependency</a>
<a class="list-group-item" href="./yii-caching-dependency.html">Dependency</a>
<a class="list-group-item" href="./yii-caching-dummycache.html">DummyCache</a>
<a class="list-group-item" href="./yii-caching-expressiondependency.html">ExpressionDependency</a>
<a class="list-group-item" href="./yii-caching-filecache.html">FileCache</a>
<a class="list-group-item" href="./yii-caching-filedependency.html">FileDependency</a>
<a class="list-group-item" href="./yii-caching-memcache.html">MemCache</a>
<a class="list-group-item" href="./yii-caching-memcacheserver.html">MemCacheServer</a>
<a class="list-group-item" href="./yii-caching-tagdependency.html">TagDependency</a>
<a class="list-group-item" href="./yii-caching-wincache.html">WinCache</a>
<a class="list-group-item" href="./yii-caching-xcache.html">XCache</a>
<a class="list-group-item" href="./yii-caching-zenddatacache.html">ZendDataCache</a></div>
<a class="list-group-item" href="#navigation-6635" data-toggle="collapse" data-parent="#navigation">yii\captcha <b class="caret"></b></a><div id="navigation-6635" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-captcha-captcha.html">Captcha</a>
<a class="list-group-item" href="./yii-captcha-captchaaction.html">CaptchaAction</a>
<a class="list-group-item" href="./yii-captcha-captchaasset.html">CaptchaAsset</a>
<a class="list-group-item" href="./yii-captcha-captchavalidator.html">CaptchaValidator</a></div>
<a class="list-group-item" href="#navigation-6636" data-toggle="collapse" data-parent="#navigation">yii\console <b class="caret"></b></a><div id="navigation-6636" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-console-application.html">Application</a>
<a class="list-group-item" href="./yii-console-controller.html">Controller</a>
<a class="list-group-item" href="./yii-console-errorhandler.html">ErrorHandler</a>
<a class="list-group-item" href="./yii-console-exception.html">Exception</a>
<a class="list-group-item" href="./yii-console-markdown.html">Markdown</a>
<a class="list-group-item" href="./yii-console-request.html">Request</a>
<a class="list-group-item" href="./yii-console-response.html">Response</a></div>
<a class="list-group-item" href="#navigation-6637" data-toggle="collapse" data-parent="#navigation">yii\console\controllers <b class="caret"></b></a><div id="navigation-6637" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-console-controllers-assetcontroller.html">AssetController</a>
<a class="list-group-item" href="./yii-console-controllers-basemigratecontroller.html">BaseMigrateController</a>
<a class="list-group-item" href="./yii-console-controllers-cachecontroller.html">CacheController</a>
<a class="list-group-item" href="./yii-console-controllers-fixturecontroller.html">FixtureController</a>
<a class="list-group-item" href="./yii-console-controllers-helpcontroller.html">HelpController</a>
<a class="list-group-item" href="./yii-console-controllers-messagecontroller.html">MessageController</a>
<a class="list-group-item" href="./yii-console-controllers-migratecontroller.html">MigrateController</a>
<a class="list-group-item" href="./yii-console-controllers-servecontroller.html">ServeController</a></div>
<a class="list-group-item" href="#navigation-6638" data-toggle="collapse" data-parent="#navigation">yii\data <b class="caret"></b></a><div id="navigation-6638" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-data-activedataprovider.html">ActiveDataProvider</a>
<a class="list-group-item" href="./yii-data-arraydataprovider.html">ArrayDataProvider</a>
<a class="list-group-item" href="./yii-data-basedataprovider.html">BaseDataProvider</a>
<a class="list-group-item" href="./yii-data-dataproviderinterface.html">DataProviderInterface</a>
<a class="list-group-item" href="./yii-data-pagination.html">Pagination</a>
<a class="list-group-item" href="./yii-data-sort.html">Sort</a>
<a class="list-group-item" href="./yii-data-sqldataprovider.html">SqlDataProvider</a></div>
<a class="list-group-item" href="#navigation-6639" data-toggle="collapse" data-parent="#navigation">yii\db <b class="caret"></b></a><div id="navigation-6639" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-activequery.html">ActiveQuery</a>
<a class="list-group-item" href="./yii-db-activequeryinterface.html">ActiveQueryInterface</a>
<a class="list-group-item" href="./yii-db-activequerytrait.html">ActiveQueryTrait</a>
<a class="list-group-item" href="./yii-db-activerecord.html">ActiveRecord</a>
<a class="list-group-item" href="./yii-db-activerecordinterface.html">ActiveRecordInterface</a>
<a class="list-group-item" href="./yii-db-activerelationtrait.html">ActiveRelationTrait</a>
<a class="list-group-item" href="./yii-db-aftersaveevent.html">AfterSaveEvent</a>
<a class="list-group-item" href="./yii-db-baseactiverecord.html">BaseActiveRecord</a>
<a class="list-group-item" href="./yii-db-batchqueryresult.html">BatchQueryResult</a>
<a class="list-group-item" href="./yii-db-columnschema.html">ColumnSchema</a>
<a class="list-group-item" href="./yii-db-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-command.html">Command</a>
<a class="list-group-item" href="./yii-db-connection.html">Connection</a>
<a class="list-group-item" href="./yii-db-datareader.html">DataReader</a>
<a class="list-group-item" href="./yii-db-exception.html">Exception</a>
<a class="list-group-item" href="./yii-db-expression.html">Expression</a>
<a class="list-group-item" href="./yii-db-integrityexception.html">IntegrityException</a>
<a class="list-group-item" href="./yii-db-migration.html">Migration</a>
<a class="list-group-item" href="./yii-db-migrationinterface.html">MigrationInterface</a>
<a class="list-group-item" href="./yii-db-query.html">Query</a>
<a class="list-group-item" href="./yii-db-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-queryinterface.html">QueryInterface</a>
<a class="list-group-item" href="./yii-db-querytrait.html">QueryTrait</a>
<a class="list-group-item" href="./yii-db-schema.html">Schema</a>
<a class="list-group-item" href="./yii-db-schemabuildertrait.html">SchemaBuilderTrait</a>
<a class="list-group-item" href="./yii-db-staleobjectexception.html">StaleObjectException</a>
<a class="list-group-item" href="./yii-db-tableschema.html">TableSchema</a>
<a class="list-group-item" href="./yii-db-transaction.html">Transaction</a></div>
<a class="list-group-item" href="#navigation-6640" data-toggle="collapse" data-parent="#navigation">yii\db\cubrid <b class="caret"></b></a><div id="navigation-6640" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-cubrid-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-cubrid-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-cubrid-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-6641" data-toggle="collapse" data-parent="#navigation">yii\db\mssql <b class="caret"></b></a><div id="navigation-6641" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-mssql-pdo.html">PDO</a>
<a class="list-group-item" href="./yii-db-mssql-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-mssql-schema.html">Schema</a>
<a class="list-group-item" href="./yii-db-mssql-sqlsrvpdo.html">SqlsrvPDO</a>
<a class="list-group-item" href="./yii-db-mssql-tableschema.html">TableSchema</a></div>
<a class="list-group-item" href="#navigation-6642" data-toggle="collapse" data-parent="#navigation">yii\db\mysql <b class="caret"></b></a><div id="navigation-6642" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-mysql-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-mysql-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-mysql-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-6643" data-toggle="collapse" data-parent="#navigation">yii\db\oci <b class="caret"></b></a><div id="navigation-6643" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-oci-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-oci-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-oci-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-6644" data-toggle="collapse" data-parent="#navigation">yii\db\pgsql <b class="caret"></b></a><div id="navigation-6644" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-pgsql-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-pgsql-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-6645" data-toggle="collapse" data-parent="#navigation">yii\db\sqlite <b class="caret"></b></a><div id="navigation-6645" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-db-sqlite-columnschemabuilder.html">ColumnSchemaBuilder</a>
<a class="list-group-item" href="./yii-db-sqlite-querybuilder.html">QueryBuilder</a>
<a class="list-group-item" href="./yii-db-sqlite-schema.html">Schema</a></div>
<a class="list-group-item" href="#navigation-6646" data-toggle="collapse" data-parent="#navigation">yii\di <b class="caret"></b></a><div id="navigation-6646" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-di-container.html">Container</a>
<a class="list-group-item" href="./yii-di-instance.html">Instance</a>
<a class="list-group-item" href="./yii-di-notinstantiableexception.html">NotInstantiableException</a>
<a class="list-group-item" href="./yii-di-servicelocator.html">ServiceLocator</a></div>
<a class="list-group-item" href="#navigation-6647" data-toggle="collapse" data-parent="#navigation">yii\filters <b class="caret"></b></a><div id="navigation-6647" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-filters-accesscontrol.html">AccessControl</a>
<a class="list-group-item" href="./yii-filters-accessrule.html">AccessRule</a>
<a class="list-group-item" href="./yii-filters-contentnegotiator.html">ContentNegotiator</a>
<a class="list-group-item" href="./yii-filters-cors.html">Cors</a>
<a class="list-group-item" href="./yii-filters-httpcache.html">HttpCache</a>
<a class="list-group-item" href="./yii-filters-pagecache.html">PageCache</a>
<a class="list-group-item" href="./yii-filters-ratelimitinterface.html">RateLimitInterface</a>
<a class="list-group-item" href="./yii-filters-ratelimiter.html">RateLimiter</a>
<a class="list-group-item" href="./yii-filters-verbfilter.html">VerbFilter</a></div>
<a class="list-group-item" href="#navigation-6648" data-toggle="collapse" data-parent="#navigation">yii\filters\auth <b class="caret"></b></a><div id="navigation-6648" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-filters-auth-authinterface.html">AuthInterface</a>
<a class="list-group-item" href="./yii-filters-auth-authmethod.html">AuthMethod</a>
<a class="list-group-item" href="./yii-filters-auth-compositeauth.html">CompositeAuth</a>
<a class="list-group-item" href="./yii-filters-auth-httpbasicauth.html">HttpBasicAuth</a>
<a class="list-group-item" href="./yii-filters-auth-httpbearerauth.html">HttpBearerAuth</a>
<a class="list-group-item" href="./yii-filters-auth-queryparamauth.html">QueryParamAuth</a></div>
<a class="list-group-item" href="#navigation-6649" data-toggle="collapse" data-parent="#navigation">yii\grid <b class="caret"></b></a><div id="navigation-6649" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-grid-actioncolumn.html">ActionColumn</a>
<a class="list-group-item" href="./yii-grid-checkboxcolumn.html">CheckboxColumn</a>
<a class="list-group-item" href="./yii-grid-column.html">Column</a>
<a class="list-group-item" href="./yii-grid-datacolumn.html">DataColumn</a>
<a class="list-group-item" href="./yii-grid-gridview.html">GridView</a>
<a class="list-group-item" href="./yii-grid-gridviewasset.html">GridViewAsset</a>
<a class="list-group-item" href="./yii-grid-serialcolumn.html">SerialColumn</a></div>
<a class="list-group-item active" href="#navigation-6650" data-toggle="collapse" data-parent="#navigation">yii\helpers <b class="caret"></b></a><div id="navigation-6650" class="submenu panel-collapse collapse in"><a class="list-group-item" href="./yii-helpers-arrayhelper.html">ArrayHelper</a>
<a class="list-group-item" href="./yii-helpers-basearrayhelper.html">BaseArrayHelper</a>
<a class="list-group-item" href="./yii-helpers-baseconsole.html">BaseConsole</a>
<a class="list-group-item" href="./yii-helpers-basefilehelper.html">BaseFileHelper</a>
<a class="list-group-item" href="./yii-helpers-baseformatconverter.html">BaseFormatConverter</a>
<a class="list-group-item active" href="./yii-helpers-basehtml.html">BaseHtml</a>
<a class="list-group-item" href="./yii-helpers-basehtmlpurifier.html">BaseHtmlPurifier</a>
<a class="list-group-item" href="./yii-helpers-baseinflector.html">BaseInflector</a>
<a class="list-group-item" href="./yii-helpers-basejson.html">BaseJson</a>
<a class="list-group-item" href="./yii-helpers-basemarkdown.html">BaseMarkdown</a>
<a class="list-group-item" href="./yii-helpers-basestringhelper.html">BaseStringHelper</a>
<a class="list-group-item" href="./yii-helpers-baseurl.html">BaseUrl</a>
<a class="list-group-item" href="./yii-helpers-basevardumper.html">BaseVarDumper</a>
<a class="list-group-item" href="./yii-helpers-console.html">Console</a>
<a class="list-group-item" href="./yii-helpers-filehelper.html">FileHelper</a>
<a class="list-group-item" href="./yii-helpers-formatconverter.html">FormatConverter</a>
<a class="list-group-item" href="./yii-helpers-html.html">Html</a>
<a class="list-group-item" href="./yii-helpers-htmlpurifier.html">HtmlPurifier</a>
<a class="list-group-item" href="./yii-helpers-inflector.html">Inflector</a>
<a class="list-group-item" href="./yii-helpers-json.html">Json</a>
<a class="list-group-item" href="./yii-helpers-markdown.html">Markdown</a>
<a class="list-group-item" href="./yii-helpers-stringhelper.html">StringHelper</a>
<a class="list-group-item" href="./yii-helpers-url.html">Url</a>
<a class="list-group-item" href="./yii-helpers-vardumper.html">VarDumper</a></div>
<a class="list-group-item" href="#navigation-6651" data-toggle="collapse" data-parent="#navigation">yii\i18n <b class="caret"></b></a><div id="navigation-6651" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-i18n-dbmessagesource.html">DbMessageSource</a>
<a class="list-group-item" href="./yii-i18n-formatter.html">Formatter</a>
<a class="list-group-item" href="./yii-i18n-gettextfile.html">GettextFile</a>
<a class="list-group-item" href="./yii-i18n-gettextmessagesource.html">GettextMessageSource</a>
<a class="list-group-item" href="./yii-i18n-gettextmofile.html">GettextMoFile</a>
<a class="list-group-item" href="./yii-i18n-gettextpofile.html">GettextPoFile</a>
<a class="list-group-item" href="./yii-i18n-i18n.html">I18N</a>
<a class="list-group-item" href="./yii-i18n-messageformatter.html">MessageFormatter</a>
<a class="list-group-item" href="./yii-i18n-messagesource.html">MessageSource</a>
<a class="list-group-item" href="./yii-i18n-missingtranslationevent.html">MissingTranslationEvent</a>
<a class="list-group-item" href="./yii-i18n-phpmessagesource.html">PhpMessageSource</a></div>
<a class="list-group-item" href="#navigation-6652" data-toggle="collapse" data-parent="#navigation">yii\log <b class="caret"></b></a><div id="navigation-6652" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-log-dbtarget.html">DbTarget</a>
<a class="list-group-item" href="./yii-log-dispatcher.html">Dispatcher</a>
<a class="list-group-item" href="./yii-log-emailtarget.html">EmailTarget</a>
<a class="list-group-item" href="./yii-log-filetarget.html">FileTarget</a>
<a class="list-group-item" href="./yii-log-logger.html">Logger</a>
<a class="list-group-item" href="./yii-log-syslogtarget.html">SyslogTarget</a>
<a class="list-group-item" href="./yii-log-target.html">Target</a></div>
<a class="list-group-item" href="#navigation-6653" data-toggle="collapse" data-parent="#navigation">yii\mail <b class="caret"></b></a><div id="navigation-6653" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-mail-basemailer.html">BaseMailer</a>
<a class="list-group-item" href="./yii-mail-basemessage.html">BaseMessage</a>
<a class="list-group-item" href="./yii-mail-mailevent.html">MailEvent</a>
<a class="list-group-item" href="./yii-mail-mailerinterface.html">MailerInterface</a>
<a class="list-group-item" href="./yii-mail-messageinterface.html">MessageInterface</a></div>
<a class="list-group-item" href="#navigation-6654" data-toggle="collapse" data-parent="#navigation">yii\mutex <b class="caret"></b></a><div id="navigation-6654" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-mutex-dbmutex.html">DbMutex</a>
<a class="list-group-item" href="./yii-mutex-filemutex.html">FileMutex</a>
<a class="list-group-item" href="./yii-mutex-mutex.html">Mutex</a>
<a class="list-group-item" href="./yii-mutex-mysqlmutex.html">MysqlMutex</a>
<a class="list-group-item" href="./yii-mutex-pgsqlmutex.html">PgsqlMutex</a></div>
<a class="list-group-item" href="#navigation-6655" data-toggle="collapse" data-parent="#navigation">yii\rbac <b class="caret"></b></a><div id="navigation-6655" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-rbac-assignment.html">Assignment</a>
<a class="list-group-item" href="./yii-rbac-basemanager.html">BaseManager</a>
<a class="list-group-item" href="./yii-rbac-checkaccessinterface.html">CheckAccessInterface</a>
<a class="list-group-item" href="./yii-rbac-dbmanager.html">DbManager</a>
<a class="list-group-item" href="./yii-rbac-item.html">Item</a>
<a class="list-group-item" href="./yii-rbac-managerinterface.html">ManagerInterface</a>
<a class="list-group-item" href="./yii-rbac-permission.html">Permission</a>
<a class="list-group-item" href="./yii-rbac-phpmanager.html">PhpManager</a>
<a class="list-group-item" href="./yii-rbac-role.html">Role</a>
<a class="list-group-item" href="./yii-rbac-rule.html">Rule</a></div>
<a class="list-group-item" href="#navigation-6656" data-toggle="collapse" data-parent="#navigation">yii\rest <b class="caret"></b></a><div id="navigation-6656" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-rest-action.html">Action</a>
<a class="list-group-item" href="./yii-rest-activecontroller.html">ActiveController</a>
<a class="list-group-item" href="./yii-rest-controller.html">Controller</a>
<a class="list-group-item" href="./yii-rest-createaction.html">CreateAction</a>
<a class="list-group-item" href="./yii-rest-deleteaction.html">DeleteAction</a>
<a class="list-group-item" href="./yii-rest-indexaction.html">IndexAction</a>
<a class="list-group-item" href="./yii-rest-optionsaction.html">OptionsAction</a>
<a class="list-group-item" href="./yii-rest-serializer.html">Serializer</a>
<a class="list-group-item" href="./yii-rest-updateaction.html">UpdateAction</a>
<a class="list-group-item" href="./yii-rest-urlrule.html">UrlRule</a>
<a class="list-group-item" href="./yii-rest-viewaction.html">ViewAction</a></div>
<a class="list-group-item" href="#navigation-6657" data-toggle="collapse" data-parent="#navigation">yii\test <b class="caret"></b></a><div id="navigation-6657" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-test-activefixture.html">ActiveFixture</a>
<a class="list-group-item" href="./yii-test-arrayfixture.html">ArrayFixture</a>
<a class="list-group-item" href="./yii-test-baseactivefixture.html">BaseActiveFixture</a>
<a class="list-group-item" href="./yii-test-dbfixture.html">DbFixture</a>
<a class="list-group-item" href="./yii-test-fixture.html">Fixture</a>
<a class="list-group-item" href="./yii-test-fixturetrait.html">FixtureTrait</a>
<a class="list-group-item" href="./yii-test-initdbfixture.html">InitDbFixture</a></div>
<a class="list-group-item" href="#navigation-6658" data-toggle="collapse" data-parent="#navigation">yii\validators <b class="caret"></b></a><div id="navigation-6658" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-validators-booleanvalidator.html">BooleanValidator</a>
<a class="list-group-item" href="./yii-validators-comparevalidator.html">CompareValidator</a>
<a class="list-group-item" href="./yii-validators-datevalidator.html">DateValidator</a>
<a class="list-group-item" href="./yii-validators-defaultvaluevalidator.html">DefaultValueValidator</a>
<a class="list-group-item" href="./yii-validators-eachvalidator.html">EachValidator</a>
<a class="list-group-item" href="./yii-validators-emailvalidator.html">EmailValidator</a>
<a class="list-group-item" href="./yii-validators-existvalidator.html">ExistValidator</a>
<a class="list-group-item" href="./yii-validators-filevalidator.html">FileValidator</a>
<a class="list-group-item" href="./yii-validators-filtervalidator.html">FilterValidator</a>
<a class="list-group-item" href="./yii-validators-imagevalidator.html">ImageValidator</a>
<a class="list-group-item" href="./yii-validators-inlinevalidator.html">InlineValidator</a>
<a class="list-group-item" href="./yii-validators-ipvalidator.html">IpValidator</a>
<a class="list-group-item" href="./yii-validators-numbervalidator.html">NumberValidator</a>
<a class="list-group-item" href="./yii-validators-punycodeasset.html">PunycodeAsset</a>
<a class="list-group-item" href="./yii-validators-rangevalidator.html">RangeValidator</a>
<a class="list-group-item" href="./yii-validators-regularexpressionvalidator.html">RegularExpressionValidator</a>
<a class="list-group-item" href="./yii-validators-requiredvalidator.html">RequiredValidator</a>
<a class="list-group-item" href="./yii-validators-safevalidator.html">SafeValidator</a>
<a class="list-group-item" href="./yii-validators-stringvalidator.html">StringValidator</a>
<a class="list-group-item" href="./yii-validators-uniquevalidator.html">UniqueValidator</a>
<a class="list-group-item" href="./yii-validators-urlvalidator.html">UrlValidator</a>
<a class="list-group-item" href="./yii-validators-validationasset.html">ValidationAsset</a>
<a class="list-group-item" href="./yii-validators-validator.html">Validator</a></div>
<a class="list-group-item" href="#navigation-6659" data-toggle="collapse" data-parent="#navigation">yii\web <b class="caret"></b></a><div id="navigation-6659" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-web-application.html">Application</a>
<a class="list-group-item" href="./yii-web-assetbundle.html">AssetBundle</a>
<a class="list-group-item" href="./yii-web-assetconverter.html">AssetConverter</a>
<a class="list-group-item" href="./yii-web-assetconverterinterface.html">AssetConverterInterface</a>
<a class="list-group-item" href="./yii-web-assetmanager.html">AssetManager</a>
<a class="list-group-item" href="./yii-web-badrequesthttpexception.html">BadRequestHttpException</a>
<a class="list-group-item" href="./yii-web-cachesession.html">CacheSession</a>
<a class="list-group-item" href="./yii-web-compositeurlrule.html">CompositeUrlRule</a>
<a class="list-group-item" href="./yii-web-conflicthttpexception.html">ConflictHttpException</a>
<a class="list-group-item" href="./yii-web-controller.html">Controller</a>
<a class="list-group-item" href="./yii-web-cookie.html">Cookie</a>
<a class="list-group-item" href="./yii-web-cookiecollection.html">CookieCollection</a>
<a class="list-group-item" href="./yii-web-dbsession.html">DbSession</a>
<a class="list-group-item" href="./yii-web-erroraction.html">ErrorAction</a>
<a class="list-group-item" href="./yii-web-errorhandler.html">ErrorHandler</a>
<a class="list-group-item" href="./yii-web-forbiddenhttpexception.html">ForbiddenHttpException</a>
<a class="list-group-item" href="./yii-web-gonehttpexception.html">GoneHttpException</a>
<a class="list-group-item" href="./yii-web-groupurlrule.html">GroupUrlRule</a>
<a class="list-group-item" href="./yii-web-headercollection.html">HeaderCollection</a>
<a class="list-group-item" href="./yii-web-htmlresponseformatter.html">HtmlResponseFormatter</a>
<a class="list-group-item" href="./yii-web-httpexception.html">HttpException</a>
<a class="list-group-item" href="./yii-web-identityinterface.html">IdentityInterface</a>
<a class="list-group-item" href="./yii-web-jqueryasset.html">JqueryAsset</a>
<a class="list-group-item" href="./yii-web-jsexpression.html">JsExpression</a>
<a class="list-group-item" href="./yii-web-jsonparser.html">JsonParser</a>
<a class="list-group-item" href="./yii-web-jsonresponseformatter.html">JsonResponseFormatter</a>
<a class="list-group-item" href="./yii-web-link.html">Link</a>
<a class="list-group-item" href="./yii-web-linkable.html">Linkable</a>
<a class="list-group-item" href="./yii-web-methodnotallowedhttpexception.html">MethodNotAllowedHttpException</a>
<a class="list-group-item" href="./yii-web-multifieldsession.html">MultiFieldSession</a>
<a class="list-group-item" href="./yii-web-notacceptablehttpexception.html">NotAcceptableHttpException</a>
<a class="list-group-item" href="./yii-web-notfoundhttpexception.html">NotFoundHttpException</a>
<a class="list-group-item" href="./yii-web-request.html">Request</a>
<a class="list-group-item" href="./yii-web-requestparserinterface.html">RequestParserInterface</a>
<a class="list-group-item" href="./yii-web-response.html">Response</a>
<a class="list-group-item" href="./yii-web-responseformatterinterface.html">ResponseFormatterInterface</a>
<a class="list-group-item" href="./yii-web-servererrorhttpexception.html">ServerErrorHttpException</a>
<a class="list-group-item" href="./yii-web-session.html">Session</a>
<a class="list-group-item" href="./yii-web-sessioniterator.html">SessionIterator</a>
<a class="list-group-item" href="./yii-web-toomanyrequestshttpexception.html">TooManyRequestsHttpException</a>
<a class="list-group-item" href="./yii-web-unauthorizedhttpexception.html">UnauthorizedHttpException</a>
<a class="list-group-item" href="./yii-web-unprocessableentityhttpexception.html">UnprocessableEntityHttpException</a>
<a class="list-group-item" href="./yii-web-unsupportedmediatypehttpexception.html">UnsupportedMediaTypeHttpException</a>
<a class="list-group-item" href="./yii-web-uploadedfile.html">UploadedFile</a>
<a class="list-group-item" href="./yii-web-urlmanager.html">UrlManager</a>
<a class="list-group-item" href="./yii-web-urlrule.html">UrlRule</a>
<a class="list-group-item" href="./yii-web-urlruleinterface.html">UrlRuleInterface</a>
<a class="list-group-item" href="./yii-web-user.html">User</a>
<a class="list-group-item" href="./yii-web-userevent.html">UserEvent</a>
<a class="list-group-item" href="./yii-web-view.html">View</a>
<a class="list-group-item" href="./yii-web-viewaction.html">ViewAction</a>
<a class="list-group-item" href="./yii-web-xmlresponseformatter.html">XmlResponseFormatter</a>
<a class="list-group-item" href="./yii-web-yiiasset.html">YiiAsset</a></div>
<a class="list-group-item" href="#navigation-6660" data-toggle="collapse" data-parent="#navigation">yii\widgets <b class="caret"></b></a><div id="navigation-6660" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-widgets-activefield.html">ActiveField</a>
<a class="list-group-item" href="./yii-widgets-activeform.html">ActiveForm</a>
<a class="list-group-item" href="./yii-widgets-activeformasset.html">ActiveFormAsset</a>
<a class="list-group-item" href="./yii-widgets-baselistview.html">BaseListView</a>
<a class="list-group-item" href="./yii-widgets-block.html">Block</a>
<a class="list-group-item" href="./yii-widgets-breadcrumbs.html">Breadcrumbs</a>
<a class="list-group-item" href="./yii-widgets-contentdecorator.html">ContentDecorator</a>
<a class="list-group-item" href="./yii-widgets-detailview.html">DetailView</a>
<a class="list-group-item" href="./yii-widgets-fragmentcache.html">FragmentCache</a>
<a class="list-group-item" href="./yii-widgets-inputwidget.html">InputWidget</a>
<a class="list-group-item" href="./yii-widgets-linkpager.html">LinkPager</a>
<a class="list-group-item" href="./yii-widgets-linksorter.html">LinkSorter</a>
<a class="list-group-item" href="./yii-widgets-listview.html">ListView</a>
<a class="list-group-item" href="./yii-widgets-maskedinput.html">MaskedInput</a>
<a class="list-group-item" href="./yii-widgets-maskedinputasset.html">MaskedInputAsset</a>
<a class="list-group-item" href="./yii-widgets-menu.html">Menu</a>
<a class="list-group-item" href="./yii-widgets-pjax.html">Pjax</a>
<a class="list-group-item" href="./yii-widgets-pjaxasset.html">PjaxAsset</a>
<a class="list-group-item" href="./yii-widgets-spaceless.html">Spaceless</a></div></div>    </div>
    <div class="col-md-9 api-content" role="main">
        <h1>Class yii\helpers\BaseHtml</h1>
<div class="top-nav">
    <a href="index.html">All Classes</a>
            | <a href="#properties">Properties</a>
                | <a href="#methods">Methods</a>
            </div>

<table class="summaryTable docClass table table-bordered">
    <colgroup>
        <col class="col-name" />
        <col class="col-value" />
    </colgroup>
            <tr><th>Inheritance</th><td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td></tr>
                            <tr><th>Subclasses</th><td><a href="yii-bootstrap-basehtml.html">yii\bootstrap\BaseHtml</a>, <a href="yii-bootstrap-html.html">yii\bootstrap\Html</a>, <a href="yii-helpers-html.html">yii\helpers\Html</a></td></tr>
                        <tr><th>Available since version</th><td>2.0</td></tr>
                    <tr>
          <th>Source Code</th>
          <td><a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php">https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php</a></td>
        </tr>
    </table>

<div class="class-description">
    <p><strong>BaseHtml provides concrete implementation for <a href="yii-helpers-html.html">yii\helpers\Html</a>.</strong></p>
    <p>Do not use BaseHtml. Use <a href="yii-helpers-html.html">yii\helpers\Html</a> instead.</p>

    </div>

<a id="properties"></a>

<div class="summary doc-property">
<h2>Public Properties</h2>

<p><a href="#" class="toggle">Hide inherited properties</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-property" />
    <col class="col-type" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Property</th><th>Type</th><th>Description</th><th>Defined By</th>
</tr>
        <tr id="$attributeOrder">
        <td><a href="yii-helpers-basehtml.html#$attributeOrder-detail">$attributeOrder</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The preferred order of attributes in a tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="$dataAttributes">
        <td><a href="yii-helpers-basehtml.html#$dataAttributes-detail">$dataAttributes</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>List of tag attributes that should be specially handled when their values are of array type.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="$voidElements">
        <td><a href="yii-helpers-basehtml.html#$voidElements-detail">$voidElements</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>List of void elements (element name =&gt; 1)</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
    </table>
</div>

<a id="methods"></a>

<div class="summary doc-method">
<h2>Public Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
        <tr id="a()">
        <td><a href="yii-helpers-basehtml.html#a()-detail">a()</a></td>
        <td>Generates a hyperlink tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
                <tr id="activeCheckbox()">
        <td><a href="yii-helpers-basehtml.html#activeCheckbox()-detail">activeCheckbox()</a></td>
        <td>Generates a checkbox tag together with a label for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeCheckboxList()">
        <td><a href="yii-helpers-basehtml.html#activeCheckboxList()-detail">activeCheckboxList()</a></td>
        <td>Generates a list of checkboxes.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeDropDownList()">
        <td><a href="yii-helpers-basehtml.html#activeDropDownList()-detail">activeDropDownList()</a></td>
        <td>Generates a drop-down list for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeFileInput()">
        <td><a href="yii-helpers-basehtml.html#activeFileInput()-detail">activeFileInput()</a></td>
        <td>Generates a file input tag for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeHiddenInput()">
        <td><a href="yii-helpers-basehtml.html#activeHiddenInput()-detail">activeHiddenInput()</a></td>
        <td>Generates a hidden input tag for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeHint()">
        <td><a href="yii-helpers-basehtml.html#activeHint()-detail">activeHint()</a></td>
        <td>Generates a hint tag for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeInput()">
        <td><a href="yii-helpers-basehtml.html#activeInput()-detail">activeInput()</a></td>
        <td>Generates an input tag for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeLabel()">
        <td><a href="yii-helpers-basehtml.html#activeLabel()-detail">activeLabel()</a></td>
        <td>Generates a label tag for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeListBox()">
        <td><a href="yii-helpers-basehtml.html#activeListBox()-detail">activeListBox()</a></td>
        <td>Generates a list box.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
                <tr id="activePasswordInput()">
        <td><a href="yii-helpers-basehtml.html#activePasswordInput()-detail">activePasswordInput()</a></td>
        <td>Generates a password input tag for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeRadio()">
        <td><a href="yii-helpers-basehtml.html#activeRadio()-detail">activeRadio()</a></td>
        <td>Generates a radio button tag together with a label for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeRadioList()">
        <td><a href="yii-helpers-basehtml.html#activeRadioList()-detail">activeRadioList()</a></td>
        <td>Generates a list of radio buttons.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeTextInput()">
        <td><a href="yii-helpers-basehtml.html#activeTextInput()-detail">activeTextInput()</a></td>
        <td>Generates a text input tag for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="activeTextarea()">
        <td><a href="yii-helpers-basehtml.html#activeTextarea()-detail">activeTextarea()</a></td>
        <td>Generates a textarea tag for the given model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="addCssClass()">
        <td><a href="yii-helpers-basehtml.html#addCssClass()-detail">addCssClass()</a></td>
        <td>Adds a CSS class (or several classes) to the specified options.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="addCssStyle()">
        <td><a href="yii-helpers-basehtml.html#addCssStyle()-detail">addCssStyle()</a></td>
        <td>Adds the specified CSS style to the HTML options.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="beginForm()">
        <td><a href="yii-helpers-basehtml.html#beginForm()-detail">beginForm()</a></td>
        <td>Generates a form start tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="beginTag()">
        <td><a href="yii-helpers-basehtml.html#beginTag()-detail">beginTag()</a></td>
        <td>Generates a start tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
                <tr id="button()">
        <td><a href="yii-helpers-basehtml.html#button()-detail">button()</a></td>
        <td>Generates a button tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="buttonInput()">
        <td><a href="yii-helpers-basehtml.html#buttonInput()-detail">buttonInput()</a></td>
        <td>Generates an input button.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="checkbox()">
        <td><a href="yii-helpers-basehtml.html#checkbox()-detail">checkbox()</a></td>
        <td>Generates a checkbox input.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="checkboxList()">
        <td><a href="yii-helpers-basehtml.html#checkboxList()-detail">checkboxList()</a></td>
        <td>Generates a list of checkboxes.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="csrfMetaTags()">
        <td><a href="yii-helpers-basehtml.html#csrfMetaTags()-detail">csrfMetaTags()</a></td>
        <td>Generates the meta tags containing CSRF token information.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="cssFile()">
        <td><a href="yii-helpers-basehtml.html#cssFile()-detail">cssFile()</a></td>
        <td>Generates a link tag that refers to an external CSS file.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="cssStyleFromArray()">
        <td><a href="yii-helpers-basehtml.html#cssStyleFromArray()-detail">cssStyleFromArray()</a></td>
        <td>Converts a CSS style array into a string representation.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="cssStyleToArray()">
        <td><a href="yii-helpers-basehtml.html#cssStyleToArray()-detail">cssStyleToArray()</a></td>
        <td>Converts a CSS style string into an array representation.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="decode()">
        <td><a href="yii-helpers-basehtml.html#decode()-detail">decode()</a></td>
        <td>Decodes special HTML entities back to the corresponding characters.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="dropDownList()">
        <td><a href="yii-helpers-basehtml.html#dropDownList()-detail">dropDownList()</a></td>
        <td>Generates a drop-down list.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="encode()">
        <td><a href="yii-helpers-basehtml.html#encode()-detail">encode()</a></td>
        <td>Encodes special characters into HTML entities.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="endForm()">
        <td><a href="yii-helpers-basehtml.html#endForm()-detail">endForm()</a></td>
        <td>Generates a form end tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="endTag()">
        <td><a href="yii-helpers-basehtml.html#endTag()-detail">endTag()</a></td>
        <td>Generates an end tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="error()">
        <td><a href="yii-helpers-basehtml.html#error()-detail">error()</a></td>
        <td>Generates a tag that contains the first validation error of the specified model attribute.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="errorSummary()">
        <td><a href="yii-helpers-basehtml.html#errorSummary()-detail">errorSummary()</a></td>
        <td>Generates a summary of the validation errors.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="escapeJsRegularExpression()">
        <td><a href="yii-helpers-basehtml.html#escapeJsRegularExpression()-detail">escapeJsRegularExpression()</a></td>
        <td>Escapes regular expression to use in JavaScript</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="fileInput()">
        <td><a href="yii-helpers-basehtml.html#fileInput()-detail">fileInput()</a></td>
        <td>Generates a file input field.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="getAttributeName()">
        <td><a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a></td>
        <td>Returns the real attribute name from the given attribute expression.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="getAttributeValue()">
        <td><a href="yii-helpers-basehtml.html#getAttributeValue()-detail">getAttributeValue()</a></td>
        <td>Returns the value of the specified attribute name or expression.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="getInputId()">
        <td><a href="yii-helpers-basehtml.html#getInputId()-detail">getInputId()</a></td>
        <td>Generates an appropriate input ID for the specified attribute name or expression.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="getInputName()">
        <td><a href="yii-helpers-basehtml.html#getInputName()-detail">getInputName()</a></td>
        <td>Generates an appropriate input name for the specified attribute name or expression.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="hiddenInput()">
        <td><a href="yii-helpers-basehtml.html#hiddenInput()-detail">hiddenInput()</a></td>
        <td>Generates a hidden input field.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="img()">
        <td><a href="yii-helpers-basehtml.html#img()-detail">img()</a></td>
        <td>Generates an image tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="input()">
        <td><a href="yii-helpers-basehtml.html#input()-detail">input()</a></td>
        <td>Generates an input type of the given type.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="jsFile()">
        <td><a href="yii-helpers-basehtml.html#jsFile()-detail">jsFile()</a></td>
        <td>Generates a script tag that refers to an external JavaScript file.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="label()">
        <td><a href="yii-helpers-basehtml.html#label()-detail">label()</a></td>
        <td>Generates a label tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="listBox()">
        <td><a href="yii-helpers-basehtml.html#listBox()-detail">listBox()</a></td>
        <td>Generates a list box.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="mailto()">
        <td><a href="yii-helpers-basehtml.html#mailto()-detail">mailto()</a></td>
        <td>Generates a mailto hyperlink.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="ol()">
        <td><a href="yii-helpers-basehtml.html#ol()-detail">ol()</a></td>
        <td>Generates an ordered list.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="passwordInput()">
        <td><a href="yii-helpers-basehtml.html#passwordInput()-detail">passwordInput()</a></td>
        <td>Generates a password input field.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="radio()">
        <td><a href="yii-helpers-basehtml.html#radio()-detail">radio()</a></td>
        <td>Generates a radio button input.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="radioList()">
        <td><a href="yii-helpers-basehtml.html#radioList()-detail">radioList()</a></td>
        <td>Generates a list of radio buttons.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="removeCssClass()">
        <td><a href="yii-helpers-basehtml.html#removeCssClass()-detail">removeCssClass()</a></td>
        <td>Removes a CSS class from the specified options.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="removeCssStyle()">
        <td><a href="yii-helpers-basehtml.html#removeCssStyle()-detail">removeCssStyle()</a></td>
        <td>Removes the specified CSS style from the HTML options.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="renderSelectOptions()">
        <td><a href="yii-helpers-basehtml.html#renderSelectOptions()-detail">renderSelectOptions()</a></td>
        <td>Renders the option tags that can be used by <a href="yii-helpers-basehtml.html#dropDownList()-detail">dropDownList()</a> and <a href="yii-helpers-basehtml.html#listBox()-detail">listBox()</a>.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="renderTagAttributes()">
        <td><a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a></td>
        <td>Renders the HTML tag attributes.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="resetButton()">
        <td><a href="yii-helpers-basehtml.html#resetButton()-detail">resetButton()</a></td>
        <td>Generates a reset button tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="resetInput()">
        <td><a href="yii-helpers-basehtml.html#resetInput()-detail">resetInput()</a></td>
        <td>Generates a reset input button.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="script()">
        <td><a href="yii-helpers-basehtml.html#script()-detail">script()</a></td>
        <td>Generates a script tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="style()">
        <td><a href="yii-helpers-basehtml.html#style()-detail">style()</a></td>
        <td>Generates a style tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="submitButton()">
        <td><a href="yii-helpers-basehtml.html#submitButton()-detail">submitButton()</a></td>
        <td>Generates a submit button tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="submitInput()">
        <td><a href="yii-helpers-basehtml.html#submitInput()-detail">submitInput()</a></td>
        <td>Generates a submit input button.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="tag()">
        <td><a href="yii-helpers-basehtml.html#tag()-detail">tag()</a></td>
        <td>Generates a complete HTML tag.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="textInput()">
        <td><a href="yii-helpers-basehtml.html#textInput()-detail">textInput()</a></td>
        <td>Generates a text input field.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="textarea()">
        <td><a href="yii-helpers-basehtml.html#textarea()-detail">textarea()</a></td>
        <td>Generates a text area input.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
            <tr id="ul()">
        <td><a href="yii-helpers-basehtml.html#ul()-detail">ul()</a></td>
        <td>Generates an unordered list.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
    </table>
</div>

<div class="summary doc-method">
<h2>Protected Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
            <tr id="activeBooleanInput()">
        <td><a href="yii-helpers-basehtml.html#activeBooleanInput()-detail">activeBooleanInput()</a></td>
        <td>Generates a boolean input
This method is mainly called by <a href="yii-helpers-basehtml.html#activeCheckbox()-detail">activeCheckbox()</a> and <a href="yii-helpers-basehtml.html#activeRadio()-detail">activeRadio()</a>.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
                                                <tr id="activeListInput()">
        <td><a href="yii-helpers-basehtml.html#activeListInput()-detail">activeListInput()</a></td>
        <td>Generates a list of input fields.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
                                                <tr id="booleanInput()">
        <td><a href="yii-helpers-basehtml.html#booleanInput()-detail">booleanInput()</a></td>
        <td>Generates a boolean input.</td>
        <td><a href="yii-helpers-basehtml.html">yii\helpers\BaseHtml</a></td>
    </tr>
                                                                                                                                                                                            </table>
</div>

<a id="events"></a>

<a id="constants"></a>

<h2>Property Details</h2>

<div class="property-doc">

    <div class="detail-header h3" id="$attributeOrder-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#$attributeOrder-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L53" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L53" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $attributeOrder        <span class="detail-header-tag small">
            public            static                                    property
                    </span>
    </div>

    <div class="doc-description">
        <p>The preferred order of attributes in a tag. This mainly affects the order of the attributes
that are rendered by <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a>.</p>

            </div>

    <div class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-helpers-basehtml.html#$attributeOrder-detail">$attributeOrder</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;[</span><span style="color: #DD0000">'type'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'id'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'class'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'name'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'value'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'href'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'src'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'action'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'method'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'selected'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'checked'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'readonly'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'disabled'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'multiple'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'size'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'maxlength'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'width'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'height'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'rows'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'cols'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'alt'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'title'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'rel'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'media'</span><span style="color: #007700">]</span></div>


    <div class="detail-header h3" id="$dataAttributes-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#$dataAttributes-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L89" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L89" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $dataAttributes        <span class="detail-header-tag small">
            public            static                                    property
                            (available since version 2.0.3)
                    </span>
    </div>

    <div class="doc-description">
        <p>List of tag attributes that should be specially handled when their values are of array type.
In particular, if the value of the <code>data</code> attribute is <code>['name' =&gt; 'xyz', 'age' =&gt; 13]</code>, two attributes
will be generated instead of one: <code>data-name="xyz" data-age="13"</code>.</p>

            </div>

    <div class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-helpers-basehtml.html#$dataAttributes-detail">$dataAttributes</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;[</span><span style="color: #DD0000">'data'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'data-ng'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'ng'</span><span style="color: #007700">]</span></div>


    <div class="detail-header h3" id="$voidElements-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#$voidElements-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L31" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L31" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $voidElements        <span class="detail-header-tag small">
            public            static                                    property
                    </span>
    </div>

    <div class="doc-description">
        <p>List of void elements (element name =&gt; 1)</p>

        <p>See also <a href="http://www.w3.org/TR/html-markup/syntax.html#void-element">http://www.w3.org/TR/html-markup/syntax.html#void-element</a>.</p>    </div>

    <div class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-helpers-basehtml.html#$voidElements-detail">$voidElements</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;[</span><span style="color: #DD0000">'area'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'base'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'br'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'col'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'command'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'embed'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'hr'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'img'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'input'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'keygen'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'link'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'meta'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'param'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'source'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'track'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'wbr'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">]</span></div>

</div>
<h2>Method Details</h2>

<div class="method-doc">

    <div class="detail-header h3" id="a()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#a()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L399" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L399" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        a()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a hyperlink tag.</strong></p>

        
        <p>See also <a href="yii-helpers-baseurl.html#to()-detail">yii\helpers\Url::to()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#a()-detail">a</a></strong> ( <span style="color: #0000BB">$text</span>, <span style="color: #0000BB">$url&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$text</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Link body. It will NOT be HTML-encoded. Therefore you can pass in HTML code
such as an image tag. If this is coming from end users, you should consider <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>
it to prevent XSS attacks.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$url</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a>|<a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>The URL for the hyperlink tag. This parameter will be processed by <a href="yii-helpers-baseurl.html#to()-detail">yii\helpers\Url::to()</a>
and will be used for the "href" attribute of the tag. If this parameter is null, the "href" attribute
will not be generated.</p>
<p>If you want to use an absolute url you can call <a href="yii-helpers-baseurl.html#to()-detail">yii\helpers\Url::to()</a> yourself, before passing the URL to this method,
like this:</p>
<pre><code class="hljs php language-php">Html::a(<span class="hljs-string">'link text'</span>, Url::to(<span class="hljs-variable">$url</span>, <span class="hljs-keyword">true</span>))
</code></pre>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated hyperlink</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeBooleanInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeBooleanInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1428" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1428" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeBooleanInput()
        <span class="detail-header-tag small">
            protected                        static            method
                            (available since version 2.0.9)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a boolean input
This method is mainly called by <a href="yii-helpers-basehtml.html#activeCheckbox()-detail">activeCheckbox()</a> and <a href="yii-helpers-basehtml.html#activeRadio()-detail">activeRadio()</a>.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeBooleanInput()-detail">activeBooleanInput</a></strong> ( <span style="color: #0000BB">$type</span>, <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$type</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The input type. This can be either <code>radio</code> or <code>checkbox</code>.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs.
See <a href="yii-helpers-basehtml.html#booleanInput()-detail">booleanInput()</a> for details about accepted attributes.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input element</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeCheckbox()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeCheckbox()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1411" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1411" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeCheckbox()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a checkbox tag together with a label for the given model attribute.</strong></p>

        <p>This method will generate the "checked" tag attribute according to the model attribute value.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeCheckbox()-detail">activeCheckbox</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs.
See <a href="yii-helpers-basehtml.html#booleanInput()-detail">booleanInput()</a> for details about accepted attributes.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated checkbox tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeCheckboxList()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeCheckboxList()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1587" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1587" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeCheckboxList()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a list of checkboxes.</strong></p>

        <p>A checkbox list allows multiple selection, like <a href="yii-helpers-basehtml.html#listBox()-detail">listBox()</a>.
As a result, the corresponding submitted value is an array.
The selection of the checkbox list is taken from the value of the model attribute.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeCheckboxList()-detail">activeCheckboxList</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$items</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The data item used to generate the checkboxes.
The array keys are the checkbox values, and the array values are the corresponding labels.
Note that the labels will NOT be HTML-encoded, while the values will.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options (name =&gt; config) for the checkbox list container tag.
The following options are specially handled:</p>
<ul>
<li>tag: string|false, the tag name of the container element. False to render checkbox without container.
See also <a href="yii-helpers-basehtml.html#tag()-detail">tag()</a>.</li>
<li>unselect: string, the value that should be submitted when none of the checkboxes is selected.
You may set this option to be null to prevent default value submission.
If this option is not set, an empty string will be submitted.</li>
<li>encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true.
This option is ignored if <code>item</code> option is set.</li>
<li>separator: string, the HTML code that separates items.</li>
<li>itemOptions: array, the options for generating the checkbox tag using <a href="yii-helpers-basehtml.html#checkbox()-detail">checkbox()</a>.</li>
<li><p>item: callable, a callback that can be used to customize the generation of the HTML code
corresponding to a single item in $items. The signature of this callback must be:</p>
<pre><code class="hljs php language-php"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(<span class="hljs-variable">$index</span>, <span class="hljs-variable">$label</span>, <span class="hljs-variable">$name</span>, <span class="hljs-variable">$checked</span>, <span class="hljs-variable">$value</span>)</span>
</span></code></pre>
<p>where $index is the zero-based index of the checkbox in the whole list; $label
is the label for the checkbox; and $name, $value and $checked represent the name,
value and the checked status of the checkbox input.</p>
</li>
</ul>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated checkbox list</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeDropDownList()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeDropDownList()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1492" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1492" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeDropDownList()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a drop-down list for the given model attribute.</strong></p>

        <p>The selection of the drop-down list is taken from the value of the model attribute.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeDropDownList()-detail">activeDropDownList</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$items</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The option data items. The array keys are option values, and the array values
are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too).
For each sub-array, an option group will be generated whose label is the key associated with the sub-array.
If you have a list of data models, you may convert them into the format described above using
<a href="yii-helpers-basearrayhelper.html#map()-detail">yii\helpers\ArrayHelper::map()</a>.</p>
<p>Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in
the labels will also be HTML-encoded.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. The following options are specially handled:</p>
<ul>
<li>prompt: string, a prompt text to be displayed as the first option;</li>
<li><p>options: array, the attributes for the select option tags. The array keys must be valid option values,
and the array values are the extra attributes for the corresponding option tags. For example,</p>
<pre><code class="hljs php language-php">[
    <span class="hljs-string">'value1'</span> =&gt; [<span class="hljs-string">'disabled'</span> =&gt; <span class="hljs-keyword">true</span>],
    <span class="hljs-string">'value2'</span> =&gt; [<span class="hljs-string">'label'</span> =&gt; <span class="hljs-string">'value 2'</span>],
];
</code></pre>
</li>
<li>groups: array, the attributes for the optgroup tags. The structure of this is similar to that of 'options',
except that the array keys represent the optgroup labels specified in $items.</li>
<li>encodeSpaces: bool, whether to encode spaces in option prompt and option value with <code>&amp;nbsp;</code> character.
Defaults to false.</li>
<li>encode: bool, whether to encode option prompt and option value characters.
Defaults to <code>true</code>. This option is available since 2.0.3.</li>
</ul>
<p>The rest of the options will be rendered as the attributes of the resulting tag. The values will
be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>. If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated drop-down list tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeFileInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeFileInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1339" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1339" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeFileInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a file input tag for the given model attribute.</strong></p>

        <p>This method will generate the "name" and "value" tag attributes automatically for the model attribute
unless they are explicitly specified in <code>$options</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeFileInput()-detail">activeFileInput</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeHiddenInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeHiddenInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1298" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1298" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeHiddenInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a hidden input tag for the given model attribute.</strong></p>

        <p>This method will generate the "name" and "value" tag attributes automatically for the model attribute
unless they are explicitly specified in <code>$options</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeHiddenInput()-detail">activeHiddenInput</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeHint()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeHint()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1136" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1136" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeHint()
        <span class="detail-header-tag small">
            public                        static            method
                            (available since version 2.0.4)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a hint tag for the given model attribute.</strong></p>

        <p>The hint text is the hint associated with the attribute, obtained via <a href="yii-base-model.html#getAttributeHint()-detail">yii\base\Model::getAttributeHint()</a>.
If no hint content can be obtained, method will return an empty string.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeHint()-detail">activeHint</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
The following options are specially handled:</p>
<ul>
<li>hint: this specifies the hint to be displayed. Note that this will NOT be <a href="yii-helpers-basehtml.html#encode()-detail">encoded</a>.
If this is not set, <a href="yii-base-model.html#getAttributeHint()-detail">yii\base\Model::getAttributeHint()</a> will be called to get the hint for display
(without encoding).</li>
</ul>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated hint tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1231" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1231" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates an input tag for the given model attribute.</strong></p>

        <p>This method will generate the "name" and "value" tag attributes automatically for the model attribute
unless they are explicitly specified in <code>$options</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeInput()-detail">activeInput</a></strong> ( <span style="color: #0000BB">$type</span>, <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$type</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The input type (e.g. 'text', 'password')</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeLabel()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeLabel()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1107" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1107" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeLabel()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a label tag for the given model attribute.</strong></p>

        <p>The label text is the label associated with the attribute, obtained via <a href="yii-base-model.html#getAttributeLabel()-detail">yii\base\Model::getAttributeLabel()</a>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeLabel()-detail">activeLabel</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
The following options are specially handled:</p>
<ul>
<li>label: this specifies the label to be displayed. Note that this will NOT be <a href="yii-helpers-basehtml.html#encode()-detail">encoded</a>.
If this is not set, <a href="yii-base-model.html#getAttributeLabel()-detail">yii\base\Model::getAttributeLabel()</a> will be called to get the label for display
(after encoding).</li>
</ul>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated label tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeListBox()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeListBox()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1544" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1544" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeListBox()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a list box.</strong></p>

        <p>The selection of the list box is taken from the value of the model attribute.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeListBox()-detail">activeListBox</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$items</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The option data items. The array keys are option values, and the array values
are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too).
For each sub-array, an option group will be generated whose label is the key associated with the sub-array.
If you have a list of data models, you may convert them into the format described above using
<a href="yii-helpers-basearrayhelper.html#map()-detail">yii\helpers\ArrayHelper::map()</a>.</p>
<p>Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in
the labels will also be HTML-encoded.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. The following options are specially handled:</p>
<ul>
<li>prompt: string, a prompt text to be displayed as the first option;</li>
<li><p>options: array, the attributes for the select option tags. The array keys must be valid option values,
and the array values are the extra attributes for the corresponding option tags. For example,</p>
<pre><code class="hljs php language-php">[
    <span class="hljs-string">'value1'</span> =&gt; [<span class="hljs-string">'disabled'</span> =&gt; <span class="hljs-keyword">true</span>],
    <span class="hljs-string">'value2'</span> =&gt; [<span class="hljs-string">'label'</span> =&gt; <span class="hljs-string">'value 2'</span>],
];
</code></pre>
</li>
<li>groups: array, the attributes for the optgroup tags. The structure of this is similar to that of 'options',
except that the array keys represent the optgroup labels specified in $items.</li>
<li>unselect: string, the value that will be submitted when no option is selected.
When this attribute is set, a hidden field will be generated so that if no option is selected in multiple
mode, we can still obtain the posted unselect value.</li>
<li>encodeSpaces: bool, whether to encode spaces in option prompt and option value with <code>&amp;nbsp;</code> character.
Defaults to false.</li>
<li>encode: bool, whether to encode option prompt and option value characters.
Defaults to <code>true</code>. This option is available since 2.0.3.</li>
</ul>
<p>The rest of the options will be rendered as the attributes of the resulting tag. The values will
be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>. If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated list box tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeListInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeListInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1648" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1648" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeListInput()
        <span class="detail-header-tag small">
            protected                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a list of input fields.</strong></p>

        <p>This method is mainly called by <a href="yii-helpers-basehtml.html#activeListBox()-detail">activeListBox()</a>, <a href="yii-helpers-basehtml.html#activeRadioList()-detail">activeRadioList()</a> and <span class="broken-link">\yii\helpers\activeCheckBoxList()</span>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeListInput()-detail">activeListInput</a></strong> ( <span style="color: #0000BB">$type</span>, <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$items</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$type</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The input type. This can be 'listBox', 'radioList', or 'checkBoxList'.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The data item used to generate the input fields.
The array keys are the input values, and the array values are the corresponding labels.
Note that the labels will NOT be HTML-encoded, while the values will.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options (name =&gt; config) for the input list. The supported special options
depend on the input type specified by <code>$type</code>.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input list</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activePasswordInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activePasswordInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1321" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1321" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activePasswordInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a password input tag for the given model attribute.</strong></p>

        <p>This method will generate the "name" and "value" tag attributes automatically for the model attribute
unless they are explicitly specified in <code>$options</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activePasswordInput()-detail">activePasswordInput</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.
The following special options are recognized:</p>
<ul>
<li>maxlength: integer|boolean, when <code>maxlength</code> is set true and the model attribute is validated
by a string validator, the <code>maxlength</code> option will take the value of <a href="yii-validators-stringvalidator.html#$max-detail">yii\validators\StringValidator::$max</a>.
This option is available since version 2.0.6.</li>
</ul>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeRadio()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeRadio()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1395" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1395" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeRadio()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a radio button tag together with a label for the given model attribute.</strong></p>

        <p>This method will generate the "checked" tag attribute according to the model attribute value.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeRadio()-detail">activeRadio</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs.
See <a href="yii-helpers-basehtml.html#booleanInput()-detail">booleanInput()</a> for details about accepted attributes.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated radio button tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeRadioList()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeRadioList()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1629" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1629" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeRadioList()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a list of radio buttons.</strong></p>

        <p>A radio button list is like a checkbox list, except that it only allows single selection.
The selection of the radio buttons is taken from the value of the model attribute.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeRadioList()-detail">activeRadioList</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$items</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The data item used to generate the radio buttons.
The array keys are the radio values, and the array values are the corresponding labels.
Note that the labels will NOT be HTML-encoded, while the values will.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options (name =&gt; config) for the radio button list container tag.
The following options are specially handled:</p>
<ul>
<li>tag: string|false, the tag name of the container element. False to render radio button without container.
See also <a href="yii-helpers-basehtml.html#tag()-detail">tag()</a>.</li>
<li>unselect: string, the value that should be submitted when none of the radio buttons is selected.
You may set this option to be null to prevent default value submission.
If this option is not set, an empty string will be submitted.</li>
<li>encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true.
This option is ignored if <code>item</code> option is set.</li>
<li>separator: string, the HTML code that separates items.</li>
<li>itemOptions: array, the options for generating the radio button tag using <a href="yii-helpers-basehtml.html#radio()-detail">radio()</a>.</li>
<li><p>item: callable, a callback that can be used to customize the generation of the HTML code
corresponding to a single item in $items. The signature of this callback must be:</p>
<pre><code class="hljs php language-php"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(<span class="hljs-variable">$index</span>, <span class="hljs-variable">$label</span>, <span class="hljs-variable">$name</span>, <span class="hljs-variable">$checked</span>, <span class="hljs-variable">$value</span>)</span>
</span></code></pre>
<p>where $index is the zero-based index of the radio button in the whole list; $label
is the label for the radio button; and $name, $value and $checked represent the name,
value and the checked status of the radio button input.</p>
</li>
</ul>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated radio button list</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeTextInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeTextInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1280" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1280" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeTextInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a text input tag for the given model attribute.</strong></p>

        <p>This method will generate the "name" and "value" tag attributes automatically for the model attribute
unless they are explicitly specified in <code>$options</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeTextInput()-detail">activeTextInput</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.
The following special options are recognized:</p>
<ul>
<li>maxlength: integer|boolean, when <code>maxlength</code> is set true and the model attribute is validated
by a string validator, the <code>maxlength</code> option will take the value of <a href="yii-validators-stringvalidator.html#$max-detail">yii\validators\StringValidator::$max</a>.
This is available since version 2.0.3.</li>
</ul>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="activeTextarea()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#activeTextarea()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1368" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1368" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        activeTextarea()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a textarea tag for the given model attribute.</strong></p>

        <p>The model attribute value will be used as the content in the textarea.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#activeTextarea()-detail">activeTextarea</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.
The following special options are recognized:</p>
<ul>
<li>maxlength: integer|boolean, when <code>maxlength</code> is set true and the model attribute is validated
by a string validator, the <code>maxlength</code> option will take the value of <a href="yii-validators-stringvalidator.html#$max-detail">yii\validators\StringValidator::$max</a>.
This option is available since version 2.0.6.</li>
</ul>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated textarea tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="addCssClass()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#addCssClass()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1811" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1811" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        addCssClass()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Adds a CSS class (or several classes) to the specified options.</strong></p>

        <p>If the CSS class is already in the options, it will not be added again.
If class specification at given options is an array, and some class placed there with the named (string) key,
overriding of such key will have no effect. For example:</p>
<pre><code class="hljs php language-php"><span class="hljs-variable">$options</span> = [<span class="hljs-string">'class'</span> =&gt; [<span class="hljs-string">'persistent'</span> =&gt; <span class="hljs-string">'initial'</span>]];
Html::addCssClass(<span class="hljs-variable">$options</span>, [<span class="hljs-string">'persistent'</span> =&gt; <span class="hljs-string">'override'</span>]);
var_dump(<span class="hljs-variable">$options</span>[<span class="hljs-string">'class'</span>]); <span class="hljs-comment">// outputs: array('persistent' =&gt; 'initial');</span>
</code></pre>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type">void</span> <strong><a href="yii-helpers-basehtml.html#addCssClass()-detail">addCssClass</a></strong> ( <b>&</b><span style="color: #0000BB">$options</span>, <span style="color: #0000BB">$class</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The options to be modified.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$class</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The CSS class(es) to be added</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="addCssStyle()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#addCssStyle()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1893" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1893" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        addCssStyle()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Adds the specified CSS style to the HTML options.</strong></p>

        <p>If the options already contain a <code>style</code> element, the new style will be merged
with the existing one. If a CSS property exists in both the new and the old styles,
the old one may be overwritten if <code>$overwrite</code> is true.</p>
<p>For example,</p>
<pre><code class="hljs php language-php">Html::addCssStyle(<span class="hljs-variable">$options</span>, <span class="hljs-string">'width: 100px; height: 200px'</span>);
</code></pre>

        <p>See also:</p><ul><li><a href="yii-helpers-basehtml.html#removeCssStyle()-detail">removeCssStyle()</a></li><li><a href="yii-helpers-basehtml.html#cssStyleFromArray()-detail">cssStyleFromArray()</a></li><li><a href="yii-helpers-basehtml.html#cssStyleToArray()-detail">cssStyleToArray()</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type">void</span> <strong><a href="yii-helpers-basehtml.html#addCssStyle()-detail">addCssStyle</a></strong> ( <b>&</b><span style="color: #0000BB">$options</span>, <span style="color: #0000BB">$style</span>, <span style="color: #0000BB">$overwrite&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The HTML options to be modified.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$style</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The new style string (e.g. <code>'width: 100px; height: 200px'</code>) or
array (e.g. <code>['width' =&gt; '100px', 'height' =&gt; '200px']</code>).</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$overwrite</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether to overwrite existing CSS properties if the new style
contain them too.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="beginForm()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#beginForm()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L320" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L320" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        beginForm()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a form start tag.</strong></p>

        
        <p>See also <a href="yii-helpers-basehtml.html#endForm()-detail">endForm()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#beginForm()-detail">beginForm</a></strong> ( <span style="color: #0000BB">$action&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span>, <span style="color: #0000BB">$method&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'post'</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$action</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a>|<a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The form action URL. This parameter will be processed by <a href="yii-helpers-baseurl.html#to()-detail">yii\helpers\Url::to()</a>.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$method</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The form submission method, such as "post", "get", "put", "delete" (case-insensitive).
Since most browsers only support "post" and "get", if other methods are given, they will
be simulated using "post", and a hidden input will be added which contains the actual method type.
See <a href="yii-web-request.html#$methodParam-detail">yii\web\Request::$methodParam</a> for more details.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
<p>Special options:</p>
<ul>
<li><code>csrf</code>: whether to generate the CSRF hidden input. Defaults to true.</li>
</ul>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated form start tag.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="beginTag()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#beginTag()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L158" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L158" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        beginTag()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a start tag.</strong></p>

        
        <p>See also:</p><ul><li><a href="yii-helpers-basehtml.html#endTag()-detail">endTag()</a></li><li><a href="yii-helpers-basehtml.html#tag()-detail">tag()</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#beginTag()-detail">beginTag</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.boolean">boolean</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>The tag name. If $name is <code>null</code> or <code>false</code>, the corresponding content will be rendered without any tag.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated start tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="booleanInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#booleanInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L721" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L721" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        booleanInput()
        <span class="detail-header-tag small">
            protected                        static            method
                            (available since version 2.0.9)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a boolean input.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#booleanInput()-detail">booleanInput</a></strong> ( <span style="color: #0000BB">$type</span>, <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$checked&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$type</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The input type. This can be either <code>radio</code> or <code>checkbox</code>.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$checked</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether the checkbox should be checked.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. The following options are specially handled:</p>
<ul>
<li>uncheck: string, the value associated with the uncheck state of the checkbox. When this attribute
is present, a hidden input will be generated so that if the checkbox is not checked and is submitted,
the value of this attribute will still be submitted to the server via the hidden input.</li>
<li>label: string, a label displayed next to the checkbox.  It will NOT be HTML-encoded. Therefore you can pass
in HTML code such as an image tag. If this is is coming from end users, you should <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a> it to prevent XSS attacks.
When this option is specified, the checkbox will be enclosed by a label tag.</li>
<li>labelOptions: array, the HTML attributes for the label tag. Do not set this option unless you set the "label" option.</li>
</ul>
<p>The rest of the options will be rendered as the attributes of the resulting checkbox tag. The values will
be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>. If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated checkbox tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="button()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#button()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L474" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L474" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        button()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a button tag.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#button()-detail">button</a></strong> ( <span style="color: #0000BB">$content&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'Button'</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The content enclosed within the button tag. It will NOT be HTML-encoded.
Therefore you can pass in HTML code such as an image tag. If this is is coming from end users,
you should consider <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a> it to prevent XSS attacks.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated button tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="buttonInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#buttonInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L550" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L550" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        buttonInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates an input button.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#buttonInput()-detail">buttonInput</a></strong> ( <span style="color: #0000BB">$label&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'Button'</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$label</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The value attribute. If it is null, the value attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated button tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="checkbox()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#checkbox()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L694" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L694" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        checkbox()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a checkbox input.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#checkbox()-detail">checkbox</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$checked&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$checked</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether the checkbox should be checked.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs.
See <a href="yii-helpers-basehtml.html#booleanInput()-detail">booleanInput()</a> for details about accepted attributes.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated checkbox tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="checkboxList()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#checkboxList()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L890" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L890" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        checkboxList()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a list of checkboxes.</strong></p>

        <p>A checkbox list allows multiple selection, like <a href="yii-helpers-basehtml.html#listBox()-detail">listBox()</a>.
As a result, the corresponding submitted value is an array.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#checkboxList()-detail">checkboxList</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$selection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$items&nbsp;</span><span style="color: #007700">=&nbsp;[]</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute of each checkbox.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$selection</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The selected value(s).</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The data item used to generate the checkboxes.
The array keys are the checkbox values, while the array values are the corresponding labels.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options (name =&gt; config) for the checkbox list container tag.
The following options are specially handled:</p>
<ul>
<li>tag: string|false, the tag name of the container element. False to render checkbox without container.
See also <a href="yii-helpers-basehtml.html#tag()-detail">tag()</a>.</li>
<li>unselect: string, the value that should be submitted when none of the checkboxes is selected.
By setting this option, a hidden input will be generated.</li>
<li>encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true.
This option is ignored if <code>item</code> option is set.</li>
<li>separator: string, the HTML code that separates items.</li>
<li>itemOptions: array, the options for generating the checkbox tag using <a href="yii-helpers-basehtml.html#checkbox()-detail">checkbox()</a>.</li>
<li><p>item: callable, a callback that can be used to customize the generation of the HTML code
corresponding to a single item in $items. The signature of this callback must be:</p>
<pre><code class="hljs php language-php"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(<span class="hljs-variable">$index</span>, <span class="hljs-variable">$label</span>, <span class="hljs-variable">$name</span>, <span class="hljs-variable">$checked</span>, <span class="hljs-variable">$value</span>)</span>
</span></code></pre>
<p>where $index is the zero-based index of the checkbox in the whole list; $label
is the label for the checkbox; and $name, $value and $checked represent the name,
value and the checked status of the checkbox input, respectively.</p>
</li>
</ul>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated checkbox list</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="csrfMetaTags()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#csrfMetaTags()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L290" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L290" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        csrfMetaTags()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates the meta tags containing CSRF token information.</strong></p>

        
        <p>See also <a href="yii-web-request.html#$enableCsrfValidation-detail">yii\web\Request::$enableCsrfValidation</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#csrfMetaTags()-detail">csrfMetaTags</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated meta tags</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="cssFile()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#cssFile()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L225" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L225" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        cssFile()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a link tag that refers to an external CSS file.</strong></p>

        
        <p>See also <a href="yii-helpers-baseurl.html#to()-detail">yii\helpers\Url::to()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#cssFile()-detail">cssFile</a></strong> ( <span style="color: #0000BB">$url</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$url</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a>|<a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The URL of the external CSS file. This parameter will be processed by <a href="yii-helpers-baseurl.html#to()-detail">yii\helpers\Url::to()</a>.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. The following option is specially handled:</p>
<ul>
<li>condition: specifies the conditional comments for IE, e.g., <code>lt IE 9</code>. When this is specified,
the generated <code>link</code> tag will be enclosed within the conditional comments. This is mainly useful
for supporting old versions of IE browsers.</li>
<li>noscript: if set to true, <code>link</code> tag will be wrapped into <code>&lt;noscript&gt;</code> tags.</li>
</ul>
<p>The rest of the options will be rendered as the attributes of the resulting link tag. The values will
be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>. If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated link tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="cssStyleFromArray()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#cssStyleFromArray()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1949" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1949" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        cssStyleFromArray()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Converts a CSS style array into a string representation.</strong></p>

        <p>For example,</p>
<pre><code class="hljs php language-php">print_r(Html::cssStyleFromArray([<span class="hljs-string">'width'</span> =&gt; <span class="hljs-string">'100px'</span>, <span class="hljs-string">'height'</span> =&gt; <span class="hljs-string">'200px'</span>]));
<span class="hljs-comment">// will display: 'width: 100px; height: 200px;'</span>
</code></pre>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#cssStyleFromArray()-detail">cssStyleFromArray</a></strong> ( <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <span style="color: #0000BB">$style</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$style</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The CSS style array. The array keys are the CSS property names,
and the array values are the corresponding CSS property values.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The CSS style string. If the CSS style is empty, a null will be returned.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="cssStyleToArray()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#cssStyleToArray()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1975" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1975" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        cssStyleToArray()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Converts a CSS style string into an array representation.</strong></p>

        <p>The array keys are the CSS property names, and the array values
are the corresponding CSS property values.</p>
<p>For example,</p>
<pre><code class="hljs php language-php">print_r(Html::cssStyleToArray(<span class="hljs-string">'width: 100px; height: 200px;'</span>));
<span class="hljs-comment">// will display: ['width' =&gt; '100px', 'height' =&gt; '200px']</span>
</code></pre>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-helpers-basehtml.html#cssStyleToArray()-detail">cssStyleToArray</a></strong> ( <span style="color: #0000BB">$style</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$style</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The CSS style string</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The array representation of the CSS style</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="decode()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#decode()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L115" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L115" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        decode()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Decodes special HTML entities back to the corresponding characters.</strong></p>

        <p>This is the opposite of <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.</p>

        <p>See also:</p><ul><li><a href="yii-helpers-basehtml.html#encode()-detail">encode()</a></li><li><a href="http://www.php.net/manual/en/function.htmlspecialchars-decode.php">http://www.php.net/manual/en/function.htmlspecialchars-decode.php</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#decode()-detail">decode</a></strong> ( <span style="color: #0000BB">$content</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The content to be decoded</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The decoded content</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="dropDownList()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#dropDownList()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L781" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L781" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        dropDownList()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a drop-down list.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#dropDownList()-detail">dropDownList</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$selection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$items&nbsp;</span><span style="color: #007700">=&nbsp;[]</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The input name</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$selection</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The selected value</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The option data items. The array keys are option values, and the array values
are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too).
For each sub-array, an option group will be generated whose label is the key associated with the sub-array.
If you have a list of data models, you may convert them into the format described above using
<a href="yii-helpers-basearrayhelper.html#map()-detail">yii\helpers\ArrayHelper::map()</a>.</p>
<p>Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in
the labels will also be HTML-encoded.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. The following options are specially handled:</p>
<ul>
<li>prompt: string, a prompt text to be displayed as the first option;</li>
<li><p>options: array, the attributes for the select option tags. The array keys must be valid option values,
and the array values are the extra attributes for the corresponding option tags. For example,</p>
<pre><code class="hljs php language-php">[
    <span class="hljs-string">'value1'</span> =&gt; [<span class="hljs-string">'disabled'</span> =&gt; <span class="hljs-keyword">true</span>],
    <span class="hljs-string">'value2'</span> =&gt; [<span class="hljs-string">'label'</span> =&gt; <span class="hljs-string">'value 2'</span>],
];
</code></pre>
</li>
<li>groups: array, the attributes for the optgroup tags. The structure of this is similar to that of 'options',
except that the array keys represent the optgroup labels specified in $items.</li>
<li>encodeSpaces: bool, whether to encode spaces in option prompt and option value with <code>&amp;nbsp;</code> character.
Defaults to false.</li>
<li>encode: bool, whether to encode option prompt and option value characters.
Defaults to <code>true</code>. This option is available since 2.0.3.</li>
</ul>
<p>The rest of the options will be rendered as the attributes of the resulting tag. The values will
be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>. If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated drop-down list tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="encode()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#encode()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L102" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L102" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        encode()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Encodes special characters into HTML entities.</strong></p>

        <p>The <a href="yii-base-application.html#$charset-detail">application charset</a> will be used for encoding.</p>

        <p>See also:</p><ul><li><a href="yii-helpers-basehtml.html#decode()-detail">decode()</a></li><li><a href="http://www.php.net/manual/en/function.htmlspecialchars.php">http://www.php.net/manual/en/function.htmlspecialchars.php</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#encode()-detail">encode</a></strong> ( <span style="color: #0000BB">$content</span>, <span style="color: #0000BB">$doubleEncode&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The content to be encoded</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$doubleEncode</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether to encode HTML entities in <code>$content</code>. If false,
HTML entities in <code>$content</code> will not be further encoded.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The encoded content</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="endForm()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#endForm()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L371" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L371" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        endForm()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a form end tag.</strong></p>

        
        <p>See also <a href="yii-helpers-basehtml.html#beginForm()-detail">beginForm()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#endForm()-detail">endForm</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="endTag()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#endTag()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L173" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L173" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        endTag()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates an end tag.</strong></p>

        
        <p>See also:</p><ul><li><a href="yii-helpers-basehtml.html#beginTag()-detail">beginTag()</a></li><li><a href="yii-helpers-basehtml.html#tag()-detail">tag()</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#endTag()-detail">endTag</a></strong> ( <span style="color: #0000BB">$name</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.boolean">boolean</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>The tag name. If $name is <code>null</code> or <code>false</code>, the corresponding content will be rendered without any tag.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated end tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="error()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#error()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1209" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1209" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        error()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a tag that contains the first validation error of the specified model attribute.</strong></p>

        <p>Note that even if there is no validation error, this method will still return an empty error tag.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#error()-detail">error</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for the format
about attribute expression.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. The values will be HTML-encoded
using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>. If a value is null, the corresponding attribute will not be rendered.</p>
<p>The following options are specially handled:</p>
<ul>
<li>tag: this specifies the tag name. If not set, "div" will be used.
See also <a href="yii-helpers-basehtml.html#tag()-detail">tag()</a>.</li>
<li>encode: boolean, if set to false then the error message won't be encoded.</li>
</ul>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated label tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="errorSummary()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#errorSummary()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1162" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1162" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        errorSummary()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a summary of the validation errors.</strong></p>

        <p>If there is no validation error, an empty error summary markup will still be generated, but it will be hidden.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#errorSummary()-detail">errorSummary</a></strong> ( <span style="color: #0000BB">$models</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$models</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a>|<a href="yii-base-model.html">yii\base\Model</a>[]</td>
                  <td class="param-desc-col"><p>The model(s) whose validation errors are to be displayed</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. The following options are specially handled:</p>
<ul>
<li>header: string, the header HTML for the error summary. If not set, a default prompt string will be used.</li>
<li>footer: string, the footer HTML for the error summary.</li>
<li>encode: boolean, if set to false then the error messages won't be encoded.</li>
</ul>
<p>The rest of the options will be rendered as the attributes of the container tag. The values will
be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>. If a value is null, the corresponding attribute will not be rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated error summary</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="escapeJsRegularExpression()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#escapeJsRegularExpression()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L2116" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L2116" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        escapeJsRegularExpression()
        <span class="detail-header-tag small">
            public                        static            method
                            (available since version 2.0.6)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Escapes regular expression to use in JavaScript</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#escapeJsRegularExpression()-detail">escapeJsRegularExpression</a></strong> ( <span style="color: #0000BB">$regexp</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$regexp</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The regular expression to be escaped.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The escaped result.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="fileInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#fileInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L650" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L650" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        fileInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a file input field.</strong></p>

        <p>To use a file input field, you should set the enclosing form's "enctype" attribute to
be "multipart/form-data". After the form is submitted, the uploaded file information
can be obtained via $_FILES[$name] (see PHP documentation).</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#fileInput()-detail">fileInput</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$value&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The value attribute. If it is null, the value attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated file input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getAttributeName()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#getAttributeName()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L2004" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L2004" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getAttributeName()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the real attribute name from the given attribute expression.</strong></p>

        <p>An attribute expression is an attribute name prefixed and/or suffixed with array indexes.
It is mainly used in tabular data input and/or input of array type. Below are some examples:</p>
<ul>
<li><code>[0]content</code> is used in tabular data input to represent the "content" attribute
for the first model in tabular input;</li>
<li><code>dates[0]</code> represents the first array element of the "dates" attribute;</li>
<li><code>[0]dates[0]</code> represents the first array element of the "dates" attribute
for the first model in tabular input.</li>
</ul>
<p>If <code>$attribute</code> has neither prefix nor suffix, it will be returned back without change.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName</a></strong> ( <span style="color: #0000BB">$attribute</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name without prefix and suffix.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidparamexception.html">yii\base\InvalidParamException</a></td>
                  <td class="param-desc-col"><p>if the attribute name contains non-word characters.</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="getAttributeValue()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#getAttributeValue()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L2027" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L2027" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getAttributeValue()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the value of the specified attribute name or expression.</strong></p>

        <p>For an attribute expression like <code>[0]dates[0]</code>, this method will return the value of <code>$model-&gt;dates[0]</code>.
See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for more details about attribute expression.</p>
<p>If an attribute value is an instance of <a href="yii-db-activerecordinterface.html">yii\db\ActiveRecordInterface</a> or an array of such instances,
the primary value(s) of the AR instance(s) will be returned instead.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-helpers-basehtml.html#getAttributeValue()-detail">getAttributeValue</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The corresponding attribute value</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidparamexception.html">yii\base\InvalidParamException</a></td>
                  <td class="param-desc-col"><p>if the attribute name contains non-word characters.</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="getInputId()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#getInputId()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L2104" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L2104" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getInputId()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates an appropriate input ID for the specified attribute name or expression.</strong></p>

        <p>This method converts the result <a href="yii-helpers-basehtml.html#getInputName()-detail">getInputName()</a> into a valid input ID.
For example, if <a href="yii-helpers-basehtml.html#getInputName()-detail">getInputName()</a> returns <code>Post[content]</code>, this method will return <code>post-content</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#getInputId()-detail">getInputId</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression. See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for explanation of attribute expression.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input ID</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidparamexception.html">yii\base\InvalidParamException</a></td>
                  <td class="param-desc-col"><p>if the attribute name contains non-word characters.</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="getInputName()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#getInputName()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L2076" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L2076" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getInputName()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates an appropriate input name for the specified attribute name or expression.</strong></p>

        <p>This method generates a name that can be used as the input name to collect user input
for the specified attribute. The name is generated according to the <a href="yii-base-model.html#formName()-detail">form name</a>
of the model and the given attribute name. For example, if the form name of the <code>Post</code> model
is <code>Post</code>, then the input name generated for the <code>content</code> attribute would be <code>Post[content]</code>.</p>
<p>See <a href="yii-helpers-basehtml.html#getAttributeName()-detail">getAttributeName()</a> for explanation of attribute expression.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#getInputName()-detail">getInputName</a></strong> ( <span style="color: #0000BB">$model</span>, <span style="color: #0000BB">$attribute</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$model</span></td>
                  <td class="param-type-col"><a href="yii-base-model.html">yii\base\Model</a></td>
                  <td class="param-desc-col"><p>The model object</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attribute</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The attribute name or expression</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input name</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidparamexception.html">yii\base\InvalidParamException</a></td>
                  <td class="param-desc-col"><p>if the attribute name contains non-word characters.</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="hiddenInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#hiddenInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L617" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L617" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        hiddenInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a hidden input field.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#hiddenInput()-detail">hiddenInput</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$value&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The value attribute. If it is null, the value attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated hidden input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="img()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#img()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L435" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L435" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        img()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates an image tag.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#img()-detail">img</a></strong> ( <span style="color: #0000BB">$src</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$src</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a>|<a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The image URL. This parameter will be processed by <a href="yii-helpers-baseurl.html#to()-detail">yii\helpers\Url::to()</a>.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated image tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="input()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#input()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L531" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L531" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        input()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates an input type of the given type.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#input()-detail">input</a></strong> ( <span style="color: #0000BB">$type</span>, <span style="color: #0000BB">$name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$value&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$type</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The type attribute.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute. If it is null, the name attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The value attribute. If it is null, the value attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="jsFile()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#jsFile()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L259" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L259" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        jsFile()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a script tag that refers to an external JavaScript file.</strong></p>

        
        <p>See also <a href="yii-helpers-baseurl.html#to()-detail">yii\helpers\Url::to()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#jsFile()-detail">jsFile</a></strong> ( <span style="color: #0000BB">$url</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$url</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The URL of the external JavaScript file. This parameter will be processed by <a href="yii-helpers-baseurl.html#to()-detail">yii\helpers\Url::to()</a>.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. The following option is specially handled:</p>
<ul>
<li>condition: specifies the conditional comments for IE, e.g., <code>lt IE 9</code>. When this is specified,
the generated <code>script</code> tag will be enclosed within the conditional comments. This is mainly useful
for supporting old versions of IE browsers.</li>
</ul>
<p>The rest of the options will be rendered as the attributes of the resulting script tag. The values will
be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>. If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated script tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="label()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#label()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L457" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L457" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        label()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a label tag.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#label()-detail">label</a></strong> ( <span style="color: #0000BB">$content</span>, <span style="color: #0000BB">$for&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Label text. It will NOT be HTML-encoded. Therefore you can pass in HTML code
such as an image tag. If this is is coming from end users, you should <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>
it to prevent XSS attacks.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$for</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The ID of the HTML element that this label is associated with.
If this is null, the "for" attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated label tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="listBox()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#listBox()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L833" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L833" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        listBox()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a list box.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#listBox()-detail">listBox</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$selection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$items&nbsp;</span><span style="color: #007700">=&nbsp;[]</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The input name</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$selection</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The selected value(s)</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The option data items. The array keys are option values, and the array values
are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too).
For each sub-array, an option group will be generated whose label is the key associated with the sub-array.
If you have a list of data models, you may convert them into the format described above using
<a href="yii-helpers-basearrayhelper.html#map()-detail">yii\helpers\ArrayHelper::map()</a>.</p>
<p>Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in
the labels will also be HTML-encoded.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. The following options are specially handled:</p>
<ul>
<li>prompt: string, a prompt text to be displayed as the first option;</li>
<li><p>options: array, the attributes for the select option tags. The array keys must be valid option values,
and the array values are the extra attributes for the corresponding option tags. For example,</p>
<pre><code class="hljs php language-php">[
    <span class="hljs-string">'value1'</span> =&gt; [<span class="hljs-string">'disabled'</span> =&gt; <span class="hljs-keyword">true</span>],
    <span class="hljs-string">'value2'</span> =&gt; [<span class="hljs-string">'label'</span> =&gt; <span class="hljs-string">'value 2'</span>],
];
</code></pre>
</li>
<li>groups: array, the attributes for the optgroup tags. The structure of this is similar to that of 'options',
except that the array keys represent the optgroup labels specified in $items.</li>
<li>unselect: string, the value that will be submitted when no option is selected.
When this attribute is set, a hidden field will be generated so that if no option is selected in multiple
mode, we can still obtain the posted unselect value.</li>
<li>encodeSpaces: bool, whether to encode spaces in option prompt and option value with <code>&amp;nbsp;</code> character.
Defaults to false.</li>
<li>encode: bool, whether to encode option prompt and option value characters.
Defaults to <code>true</code>. This option is available since 2.0.3.</li>
</ul>
<p>The rest of the options will be rendered as the attributes of the resulting tag. The values will
be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>. If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated list box tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="mailto()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#mailto()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L420" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L420" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        mailto()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a mailto hyperlink.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#mailto()-detail">mailto</a></strong> ( <span style="color: #0000BB">$text</span>, <span style="color: #0000BB">$email&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$text</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Link body. It will NOT be HTML-encoded. Therefore you can pass in HTML code
such as an image tag. If this is coming from end users, you should consider <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>
it to prevent XSS attacks.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$email</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Email address. If this is null, the first parameter (link body) will be treated
as the email address and used.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated mailto link</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="ol()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#ol()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1082" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1082" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        ol()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates an ordered list.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#ol()-detail">ol</a></strong> ( <span style="color: #0000BB">$items</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a>|<a href="http://www.php.net/class.traversable">Traversable</a></td>
                  <td class="param-desc-col"><p>The items for generating the list. Each item generates a single list item.
Note that items will be automatically HTML encoded if <code>$options['encode']</code> is not set or true.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options (name =&gt; config) for the radio button list. The following options are supported:</p>
<ul>
<li>encode: boolean, whether to HTML-encode the items. Defaults to true.
This option is ignored if the <code>item</code> option is specified.</li>
<li>itemOptions: array, the HTML attributes for the <code>li</code> tags. This option is ignored if the <code>item</code> option is specified.</li>
<li><p>item: callable, a callback that is used to generate each individual list item.
The signature of this callback must be:</p>
<pre><code class="hljs php language-php"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(<span class="hljs-variable">$item</span>, <span class="hljs-variable">$index</span>)</span>
</span></code></pre>
<p>where $index is the array key corresponding to <code>$item</code> in <code>$items</code>. The callback should return
the whole list item tag.</p>
</li>
</ul>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated ordered list. An empty string is returned if <code>$items</code> is empty.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="passwordInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#passwordInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L632" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L632" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        passwordInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a password input field.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#passwordInput()-detail">passwordInput</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$value&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The value attribute. If it is null, the value attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated password input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="radio()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#radio()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L680" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L680" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        radio()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a radio button input.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#radio()-detail">radio</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$checked&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$checked</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"><p>Whether the radio button should be checked.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs.
See <a href="yii-helpers-basehtml.html#booleanInput()-detail">booleanInput()</a> for details about accepted attributes.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated radio button tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="radioList()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#radioList()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L970" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L970" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        radioList()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a list of radio buttons.</strong></p>

        <p>A radio button list is like a checkbox list, except that it only allows single selection.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#radioList()-detail">radioList</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$selection&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$items&nbsp;</span><span style="color: #007700">=&nbsp;[]</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute of each radio button.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$selection</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The selected value(s).</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The data item used to generate the radio buttons.
The array keys are the radio button values, while the array values are the corresponding labels.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options (name =&gt; config) for the radio button list container tag.
The following options are specially handled:</p>
<ul>
<li>tag: string|false, the tag name of the container element. False to render radio buttons without container.
See also <a href="yii-helpers-basehtml.html#tag()-detail">tag()</a>.</li>
<li>unselect: string, the value that should be submitted when none of the radio buttons is selected.
By setting this option, a hidden input will be generated.</li>
<li>encode: boolean, whether to HTML-encode the checkbox labels. Defaults to true.
This option is ignored if <code>item</code> option is set.</li>
<li>separator: string, the HTML code that separates items.</li>
<li>itemOptions: array, the options for generating the radio button tag using <a href="yii-helpers-basehtml.html#radio()-detail">radio()</a>.</li>
<li><p>item: callable, a callback that can be used to customize the generation of the HTML code
corresponding to a single item in $items. The signature of this callback must be:</p>
<pre><code class="hljs php language-php"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(<span class="hljs-variable">$index</span>, <span class="hljs-variable">$label</span>, <span class="hljs-variable">$name</span>, <span class="hljs-variable">$checked</span>, <span class="hljs-variable">$value</span>)</span>
</span></code></pre>
<p>where $index is the zero-based index of the radio button in the whole list; $label
is the label for the radio button; and $name, $value and $checked represent the name,
value and the checked status of the radio button input, respectively.</p>
</li>
</ul>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated radio button list</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="removeCssClass()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#removeCssClass()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1849" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1849" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        removeCssClass()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Removes a CSS class from the specified options.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type">void</span> <strong><a href="yii-helpers-basehtml.html#removeCssClass()-detail">removeCssClass</a></strong> ( <b>&</b><span style="color: #0000BB">$options</span>, <span style="color: #0000BB">$class</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The options to be modified.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$class</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The CSS class(es) to be removed</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="removeCssStyle()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#removeCssStyle()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1924" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1924" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        removeCssStyle()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Removes the specified CSS style from the HTML options.</strong></p>

        <p>For example,</p>
<pre><code class="hljs php language-php">Html::removeCssStyle(<span class="hljs-variable">$options</span>, [<span class="hljs-string">'width'</span>, <span class="hljs-string">'height'</span>]);
</code></pre>

        <p>See also <a href="yii-helpers-basehtml.html#addCssStyle()-detail">addCssStyle()</a>.</p>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type">void</span> <strong><a href="yii-helpers-basehtml.html#removeCssStyle()-detail">removeCssStyle</a></strong> ( <b>&</b><span style="color: #0000BB">$options</span>, <span style="color: #0000BB">$properties</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The HTML options to be modified.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$properties</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The CSS properties to be removed. You may use a string
if you are removing a single property.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="renderSelectOptions()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#renderSelectOptions()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1679" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1679" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        renderSelectOptions()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Renders the option tags that can be used by <a href="yii-helpers-basehtml.html#dropDownList()-detail">dropDownList()</a> and <a href="yii-helpers-basehtml.html#listBox()-detail">listBox()</a>.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#renderSelectOptions()-detail">renderSelectOptions</a></strong> ( <span style="color: #0000BB">$selection</span>, <span style="color: #0000BB">$items</span>, <b>&</b><span style="color: #0000BB">$tagOptions&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$selection</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The selected value(s). This can be either a string for single selection
or an array for multiple selections.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The option data items. The array keys are option values, and the array values
are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too).
For each sub-array, an option group will be generated whose label is the key associated with the sub-array.
If you have a list of data models, you may convert them into the format described above using
<a href="yii-helpers-basearrayhelper.html#map()-detail">yii\helpers\ArrayHelper::map()</a>.</p>
<p>Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in
the labels will also be HTML-encoded.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$tagOptions</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The $options parameter that is passed to the <a href="yii-helpers-basehtml.html#dropDownList()-detail">dropDownList()</a> or <a href="yii-helpers-basehtml.html#listBox()-detail">listBox()</a> call.
This method will take out these elements, if any: "prompt", "options" and "groups". See more details
in <a href="yii-helpers-basehtml.html#dropDownList()-detail">dropDownList()</a> for the explanation of these elements.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated list options</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="renderTagAttributes()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#renderTagAttributes()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1748" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1748" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        renderTagAttributes()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Renders the HTML tag attributes.</strong></p>

        <p>Attributes whose values are of boolean type will be treated as
<a href="http://www.w3.org/TR/html5/infrastructure.html#boolean-attributes">boolean attributes</a>.</p>
<p>Attributes whose values are null will not be rendered.</p>
<p>The values of attributes will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.</p>
<p>The "data" attribute is specially handled when it is receiving an array value. In this case,
the array will be "expanded" and a list data attributes will be rendered. For example,
if <code>'data' =&gt; ['id' =&gt; 1, 'name' =&gt; 'yii']</code>, then this will be rendered:
<code>data-id="1" data-name="yii"</code>.
Additionally <code>'data' =&gt; ['params' =&gt; ['id' =&gt; 1, 'name' =&gt; 'yii'], 'status' =&gt; 'ok']</code> will be rendered as:
<code>data-params='{"id":1,"name":"yii"}' data-status="ok"</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes</a></strong> ( <span style="color: #0000BB">$attributes</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$attributes</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Attributes to be rendered. The attribute values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The rendering result. If the attributes are not empty, they will be rendered
into a string with a leading white space (so that it can be directly appended to the tag name
in a tag. If there is no attribute, an empty string will be returned.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="resetButton()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#resetButton()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L514" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L514" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        resetButton()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a reset button tag.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#resetButton()-detail">resetButton</a></strong> ( <span style="color: #0000BB">$content&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'Reset'</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The content enclosed within the button tag. It will NOT be HTML-encoded.
Therefore you can pass in HTML code such as an image tag. If this is is coming from end users,
you should consider <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a> it to prevent XSS attacks.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated reset button tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="resetInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#resetInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L585" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L585" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        resetInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a reset input button.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#resetInput()-detail">resetInput</a></strong> ( <span style="color: #0000BB">$label&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'Reset'</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$label</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The value attribute. If it is null, the value attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The attributes of the button tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
Attributes whose value is null will be ignored and not put in the tag returned.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated button tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="script()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#script()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L204" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L204" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        script()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a script tag.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#script()-detail">script</a></strong> ( <span style="color: #0000BB">$content</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The script content</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated script tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="style()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#style()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L190" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L190" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        style()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a style tag.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#style()-detail">style</a></strong> ( <span style="color: #0000BB">$content</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The style content</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated style tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="submitButton()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#submitButton()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L497" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L497" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        submitButton()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a submit button tag.</strong></p>

        <p>Be careful when naming form elements such as submit buttons. According to the <a href="https://api.jquery.com/submit/">jQuery documentation</a> there
are some reserved names that can cause conflicts, e.g. <code>submit</code>, <code>length</code>, or <code>method</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#submitButton()-detail">submitButton</a></strong> ( <span style="color: #0000BB">$content&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'Submit'</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The content enclosed within the button tag. It will NOT be HTML-encoded.
Therefore you can pass in HTML code such as an image tag. If this is is coming from end users,
you should consider <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a> it to prevent XSS attacks.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated submit button tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="submitInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#submitInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L570" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L570" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        submitInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a submit input button.</strong></p>

        <p>Be careful when naming form elements such as submit buttons. According to the <a href="https://api.jquery.com/submit/">jQuery documentation</a> there
are some reserved names that can cause conflicts, e.g. <code>submit</code>, <code>length</code>, or <code>method</code>.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#submitInput()-detail">submitInput</a></strong> ( <span style="color: #0000BB">$label&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'Submit'</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$label</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The value attribute. If it is null, the value attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated button tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="tag()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#tag()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L138" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L138" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        tag()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a complete HTML tag.</strong></p>

        
        <p>See also:</p><ul><li><a href="yii-helpers-basehtml.html#beginTag()-detail">beginTag()</a></li><li><a href="yii-helpers-basehtml.html#endTag()-detail">endTag()</a></li></ul>    </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#tag()-detail">tag</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$content&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.boolean">boolean</a>|<a href="http://www.php.net/language.types.null">null</a></td>
                  <td class="param-desc-col"><p>The tag name. If $name is <code>null</code> or <code>false</code>, the corresponding content will be rendered without any tag.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The content to be enclosed between the start and end tags. It will not be HTML-encoded.
If this is coming from end users, you should consider <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a> it to prevent XSS attacks.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The HTML tag attributes (HTML options) in terms of name-value pairs.
These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.</p>
<p>For example when using <code>['class' =&gt; 'my-class', 'target' =&gt; '_blank', 'value' =&gt; null]</code> it will result in the
html attributes rendered like this: <code>class="my-class" target="_blank"</code>.</p>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated HTML tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="textInput()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#textInput()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L602" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L602" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        textInput()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a text input field.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#textInput()-detail">textInput</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$value&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The name attribute.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The value attribute. If it is null, the value attribute will not be generated.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated text input tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="textarea()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#textarea()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L665" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L665" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        textarea()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates a text area input.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#textarea()-detail">textarea</a></strong> ( <span style="color: #0000BB">$name</span>, <span style="color: #0000BB">$value&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$name</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The input name</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$value</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The input value. Note that it will be encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using <a href="yii-helpers-basehtml.html#encode()-detail">encode()</a>.
If a value is null, the corresponding attribute will not be rendered.
See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated text area tag</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="ul()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-helpers-basehtml.html#ul()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2/edit/master/framework/helpers/BaseHtml.php#L1031" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseHtml.php#L1031" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        ul()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Generates an unordered list.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-helpers-basehtml.html#ul()-detail">ul</a></strong> ( <span style="color: #0000BB">$items</span>, <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$items</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a>|<a href="http://www.php.net/class.traversable">Traversable</a></td>
                  <td class="param-desc-col"><p>The items for generating the list. Each item generates a single list item.
Note that items will be automatically HTML encoded if <code>$options['encode']</code> is not set or true.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options (name =&gt; config) for the radio button list. The following options are supported:</p>
<ul>
<li>encode: boolean, whether to HTML-encode the items. Defaults to true.
This option is ignored if the <code>item</code> option is specified.</li>
<li>separator: string, the HTML code that separates items. Defaults to a simple newline (<code>"\n"</code>).
This option is available since version 2.0.7.</li>
<li>itemOptions: array, the HTML attributes for the <code>li</code> tags. This option is ignored if the <code>item</code> option is specified.</li>
<li><p>item: callable, a callback that is used to generate each individual list item.
The signature of this callback must be:</p>
<pre><code class="hljs php language-php"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(<span class="hljs-variable">$item</span>, <span class="hljs-variable">$index</span>)</span>
</span></code></pre>
<p>where $index is the array key corresponding to <code>$item</code> in <code>$items</code>. The callback should return
the whole list item tag.</p>
</li>
</ul>
<p>See <a href="yii-helpers-basehtml.html#renderTagAttributes()-detail">renderTagAttributes()</a> for details on how attributes are being rendered.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The generated unordered list. An empty list tag will be returned if <code>$items</code> is empty.</p>
</td>
                </tr>
                                    </table>

<!--	-->
</div>
        </div>
</div>

<script type="text/javascript">
    /*<![CDATA[*/
    $("a.toggle").on('click', function () {
        var $this = $(this);
        if ($this.hasClass('properties-hidden')) {
            $this.text($this.text().replace(/Show/,'Hide'));
            $this.parents(".summary").find(".inherited").show();
            $this.removeClass('properties-hidden');
        } else {
            $this.text($this.text().replace(/Hide/,'Show'));
            $this.parents(".summary").find(".inherited").hide();
            $this.addClass('properties-hidden');
        }

        return false;
    });
    /*
     $(".sourceCode a.show").toggle(function () {
     $(this).text($(this).text().replace(/show/,'hide'));
     $(this).parents(".sourceCode").find("div.code").show();
     },function () {
     $(this).text($(this).text().replace(/hide/,'show'));
     $(this).parents(".sourceCode").find("div.code").hide();
     });
     $("a.sourceLink").click(function () {
     $(this).attr('target','_blank');
     });
     */
    /*]]>*/
</script>


</div>

<footer class="footer">
        <p class="pull-right"><small>Page generated on Sat, 09 Jul 2016 12:15:44 +0000</small></p>
    Powered by <a href="http://www.yiiframework.com/" rel="external">Yii Framework</a></footer>

<script type="text/javascript">jQuery(document).ready(function () {
    var shiftWindow = function () { scrollBy(0, -50) };
    if (location.hash) setTimeout(shiftWindow, 1);
    window.addEventListener("hashchange", shiftWindow);
var element = document.createElement("script");
element.src = "./jssearch.index.js";
document.body.appendChild(element);

var searchBox = $('#searchbox');

// search when typing in search field
searchBox.on("keyup", function(event) {
    var query = $(this).val();

    if (query == '' || event.which == 27) {
        $('#search-resultbox').hide();
        return;
    } else if (event.which == 13) {
        var selectedLink = $('#search-resultbox a.selected');
        if (selectedLink.length != 0) {
            document.location = selectedLink.attr('href');
            return;
        }
    } else if (event.which == 38 || event.which == 40) {
        $('#search-resultbox').show();

        var selected = $('#search-resultbox a.selected');
        if (selected.length == 0) {
            $('#search-results').find('a').first().addClass('selected');
        } else {
            var next;
            if (event.which == 40) {
                next = selected.parent().next().find('a').first();
            } else {
                next = selected.parent().prev().find('a').first();
            }
            if (next.length != 0) {
                var resultbox = $('#search-results');
                var position = next.position();

//              TODO scrolling is buggy and jumps around
//                resultbox.scrollTop(Math.floor(position.top));
//                console.log(position.top);

                selected.removeClass('selected');
                next.addClass('selected');
            }
        }

        return;
    }
    $('#search-resultbox').show();
    $('#search-results').html('<li><span class="no-results">No results</span></li>');

    var result = jssearch.search(query);

    if (result.length > 0) {
        var i = 0;
        var resHtml = '';

        for (var key in result) {
            if (i++ > 20) {
                break;
            }
            resHtml = resHtml +
            '<li><a href="' + result[key].file.u.substr(3) +'"><span class="title">' + result[key].file.t + '</span>' +
            '<span class="description">' + result[key].file.d + '</span></a></li>';
        }
        $('#search-results').html(resHtml);
    }
});

// hide the search results on ESC
$(document).on("keyup", function(event) { if (event.which == 27) { $('#search-resultbox').hide(); } });
// hide search results on click to document
$(document).bind('click', function (e) { $('#search-resultbox').hide(); });
// except the following:
searchBox.bind('click', function(e) { e.stopPropagation(); });
$('#search-resultbox').bind('click', function(e) { e.stopPropagation(); });

});</script></body>
</html>
